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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [paste6.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 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.