Debian Codegraph @

gcc/testsuite/gcc.dg/cpp/Wvariadic-1p.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-std=iso9899:1990 " } */
3 #pragma GCC diagnostic error "-Wpedantic"
4
5 #define f(x,...) /* { dg-error "variadic" } */
6 #define g(x,y...) /* { dg-error "variadic" } */
7 int not_empty;
8 /* { dg-message "warnings being treated as errors" "" { target *-*-* } 0 } */