Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/pr118674.c

raw
1 /* PR preprocessor/118674 */
2 /* { dg-do preprocess } */
3 #define M(__VA_ARGS__, ...)
4 /* { dg-error "'__VA_ARGS__' can only appear in the expansion of a C99 variadic macro" "" { target *-*-* } .-1 } */
5 /* { dg-error "duplicate macro parameter '__VA_ARGS__'" "" { target *-*-* } .-2 } */