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