Debian Codegraph @

gcc/testsuite/gcc.dg/c23-stdarg-11.c

raw
1 /* PR c/107980 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
4
5 #include <stdarg.h>
6
7 void
8 f (...)
9 {
10 va_start (); /* { dg-error "expected expression before '\\\)' token" } */
11 }