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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [cpp/] [trad/] [macro.c] - Diff between revs 149 and 154

Only display areas with differences | Details | Blame | View Log

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

powered by: WebSVN 2.1.0

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