summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/Wvariadic-2.c
blob: f72e311f645c4df9204558861d3b4d17085b88a7 (plain)
1
2
3
4
5
6
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1990 -pedantic -Werror -Wno-variadic-macros" } */

#define f(x,...)	/* { dg-bogus "variadic" } */
#define g(x,y...)	/* { dg-bogus "variadic" } */
int not_empty;