]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/c18-version-2.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / c18-version-2.c
CommitLineData
1e39313a
JM
1/* Test __STDC_VERSION__ for C17. Test -std=iso9899:2018. */
2/* { dg-do compile } */
3/* { dg-options "-std=iso9899:2018 -pedantic-errors" } */
4
5#if __STDC_VERSION__ == 201710L
6int i;
7#else
8#error "Bad __STDC_VERSION__."
9#endif