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