blob: 8786402bb64a09b9e510864ae87dec26e1ab52cf (
plain)
1
2
3
4
5
6
7
8
9
|
/* Test __STDC_VERSION__ for C17. Test -std=iso9899:2018. */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:2018 -pedantic-errors" } */
#if __STDC_VERSION__ == 201710L
int i;
#else
#error "Bad __STDC_VERSION__."
#endif
|