aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/c94-version-1.c
blob: 7437dda90541be05288316c1056672e491cf7906 (plain)
1
2
3
4
5
6
7
8
9
/* Test __STDC_VERSION__ for C94.  */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:199409 -pedantic-errors" } */

#if __STDC_VERSION__ == 199409L
int i;
#else
#error "Bad __STDC_VERSION__."
#endif