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/] [paste8.c] - Rev 328
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do preprocess } */ /* { dg-options "" } */ int foo(int, ...); #define a(x, y...) foo(x, ##y) a(1) a(1, 2, 3) #define b(x, y, z...) foo(x, ##y) b(1, 2, 3) /* { dg-error "valid preprocessing token" } */ #define c(x, y, z...) foo(x, ##z) c(1, 2) c(1, 2, 3) #define d(x) fo(##x) d(1) /* { dg-error "valid preprocessing token" } */
Go to most recent revision | Compare with Previous | Blame | View Log