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
Revert DECL_USER_ALIGN part of r241959
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gnu11-version-1.c
blob
56efbd43bdc579ebde43af9d8d3b9c89f7392078
1
/* Test __STDC_VERSION__ for C11 with GNU extensions. Test -std=gnu11. */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu11 -pedantic-errors" } */
4
5
#if __STDC_VERSION__ == 201112L
6
int
i
;
7
#else
8
#error
"Bad __STDC_VERSION__."
9
#endif