]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/c2x-stdarg-5.c
1 /* Test __STDC_VERSION_STDARG_H__ in C23. */
2 /* { dg-do preprocess } */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
7 #ifndef __STDC_VERSION_STDARG_H__
8 #error "__STDC_VERSION_STDARG_H__ not defined"
11 #if __STDC_VERSION_STDARG_H__ != 202311L
12 #error "bad value of __STDC_VERSION_STDARG_H__"