Debian Codegraph @

gcc/testsuite/gcc.dg/noncompile/va-arg-1.c

raw
1 /* { dg-additional-options "-std=gnu17" } */
2
3 #include <stdarg.h>
4
5 void
6 f (int x, ...)
7 {
8 va_list args;
9 va_start (args, bogus_variable); /* { dg-error "undeclared|for each function|not last named" } */
10 va_end (args);
11 }