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