summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/Wvariadic-3.c
blob: 0317c3c6dff6b7163f7791b2bd2963312cb8ee26 (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1999 -pedantic -Werror" } */

#define f(x,...)
#define g(x,y...)	/* { dg-error "variadic" } */
int not_empty;
/* { dg-message "warnings being treated as errors" "" { target *-*-* } 0 } */