Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/cpp/trad/macro.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
111 | 1 /* Test that varargs are rejected, and that we don't complain about |
2 macro args in skipped blocks. */ | |
3 | |
4 /* { dg-do preprocess } */ | |
5 | |
6 #define f(x) | |
131 | 7 #define g(x, y...) /* { dg-error "-:macro parameter list" } */ |
111 | 8 |
9 #if 0 | |
10 #define f(a,b) /* { dg-bogus "passed 2 arguments" } */ | |
11 #endif |