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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
c11-stdatomic-3.c
blob
1f5a71b6219fc36e05189554dfc9338515efc666
1
/* Test __STDC_VERSION_STDATOMIC_H__ not in C11. */
2
/* { dg-do preprocess } */
3
/* { dg-options "-std=c11 -pedantic-errors" } */
4
5
#include <stdatomic.h>
6
7
#ifdef __STDC_VERSION_STDATOMIC_H__
8
#error
"__STDC_VERSION_STDATOMIC_H__ defined"
9
#endif