URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [trad/] [funlike-3.c] - Rev 689
Compare with Previous | Blame | View Log
/* Test that function-like macros are restricted to directives, and that unterminated ones are warned about. */ /* { dg-do preprocess } */ #define f(x) x #if 2 f(/* { dg-error "unterminated" "unterminated macro in directive" } */ ) #endif f( /* { dg-error "unterminated" "unterminated macro" } */