☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
c99-version-1.c
☽
☼
gcc/testsuite/gcc.dg/c99-version-1.c
code
plain
raw
1
/* Test __STDC_VERSION__ for C99. */
2
/* { dg-do compile } */
3
/* { dg-options "-std=c99 -pedantic-errors" } */
4
5
#if __STDC_VERSION__ == 199901L
6
int i;
7
#else
8
#error "Bad __STDC_VERSION__."
9
#endif