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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [trad/] [macro.c] - Rev 816

Compare with Previous | Blame | View Log

/* Test that varargs are rejected, and that we don't complain about
   macro args in skipped blocks.  */
 
/* { dg-do preprocess } */
 
#define f(x) 
#define g(x, y...)		/* { dg-error "macro parameter list" } */
 
#if 0
#define f(a,b)			/* { dg-bogus "passed 2 arguments" } */
#endif
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.