Debian Codegraph @

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

raw
1 /* Test C23 variadic functions with no named parameters, or last named
2 parameter with a declaration not allowed in C17. Execution tests. */
3 /* { dg-do run } */
4 /* { dg-options "-O2 -std=c23 -pedantic-errors" } */
5
6 #include "c23-stdarg-6.c"
7
8 /* { dg-warning "'va_start' macro used with additional arguments other than identifier of the last named argument" "" { target *-*-* } 0 } */