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