repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
c99-version-1.c
blob
b99d54c7e16205af44b2b609b2a23a99818bc707
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