aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c11-stdarg-4.c
blob: 06bff1f044593a4029c5ff553c9b68c69e5ec876 (plain)
1
2
3
4
5
6
7
8
9
/* Test __STDC_VERSION_STDARG_H__ not in C11.  */
/* { dg-do preprocess } */
/* { dg-options "-std=c11 -pedantic-errors" } */

#include <stdarg.h>

#ifdef __STDC_VERSION_STDARG_H__
#error "__STDC_VERSION_STDARG_H__ defined"
#endif