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/] [directive.c] - Rev 378
Go to most recent revision | Compare with Previous | Blame | View Log
/* Test for some basic aspects of -traditional directive processing. */ /* { dg-do preprocess } */ #define HASH # HASH /* There is a #error directive. */ #error bad /* { dg-error "bad" } */ /* Directives with their #s indented are not recognized. */ #if 0 /* { dg-bogus "unterminated" } */ #wrong /* { dg-error "invalid" } */ #define foo 2 #define bar + 3 #define foobar 6 #if foo/**/bar != 5 # error Comments in directive is a separator /* { dg-bogus "error" } */ #endif
Go to most recent revision | Compare with Previous | Blame | View Log