Tighten condition in vect/pr85586.c (PR 85654)
[official-gcc.git] / gcc / testsuite / gcc.dg / c11-version-2.c
blob3ac2305f77d88b7f6a992464d3bb9444bca58922
1 /* Test __STDC_VERSION__ for C11. Test -std=iso9899:2011. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=iso9899:2011 -pedantic-errors" } */
5 #if __STDC_VERSION__ == 201112L
6 int i;
7 #else
8 #error "Bad __STDC_VERSION__."
9 #endif