Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
gnu11-version-1.c
blob: 56efbd43bdc579ebde43af9d8d3b9c89f7392078 [
file
] [
log
] [
blame
]
/* Test __STDC_VERSION__ for C11 with GNU extensions. Test -std=gnu11. */
/* { dg-do compile } */
/* { dg-options "-std=gnu11 -pedantic-errors" } */
#if __STDC_VERSION__ == 201112L
int
i
;
#else
#error
"Bad __STDC_VERSION__."
#endif