OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [paste6.c] - Blame information for rev 754

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Regression test for paste appearing at the beginning of a set of
2
   actual arguments.  Original bug exposed by Linux kernel.  Problem
3
   reported by Jakub Jelinek <jakub@redhat.com>.  */
4
 
5
/* { dg-do compile } */
6
 
7
extern int foo(int x);
8
 
9
#define bar(x) foo(x)
10
#define baz(x) bar(##x)
11
 
12
int quux(int y) { return baz(y); }  /* { dg-error "valid preprocessing" } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.