URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [trad/] [recurse-2.c] - Rev 604
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test for warning of and recovery from recursion in function-like macros. */ /* { dg-do preprocess } */ #define foo() foo() foo(); /* { dg-error "detected recursion" } */ #define bar() bar baz() bar bar(); /* { dg-bogus "detected recursion" } */ #define baz() foo() baz(); /* { dg-error "detected recursion" } */ #define a(x) x(a) a(a); /* { dg-error "detected recursion" } */
Go to most recent revision | Compare with Previous | Blame | View Log