URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
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
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.