1 /* { dg-do preprocess } */ 2 /* { dg-options "-ansi -fdiagnostics-show-option -pedantic -Wvariadic-macros" } */ 3 4 #define F(...) X /* { dg-warning "anonymous variadic macros were introduced in C99 .-Wvariadic-macros." } */ 5 6 #define G(X...) X /* { dg-warning "ISO C does not permit named variadic macros .-Wvariadic-macros." } */ 7