Sign in
gnu
/
gcc
/
e28e8ab1a92e9b49f7c4045377577c8dc17751b7
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c17-version-2.c
blob: 3f36720409479ed5eb5e80d200114a23b98083cb [
file
] [
log
] [
blame
]
/* Test __STDC_VERSION__ for C17. Test -std=iso9899:2017. */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:2017 -pedantic-errors" } */
#if __STDC_VERSION__ == 201710L
int
i
;
#else
#error
"Bad __STDC_VERSION__."
#endif