Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / c11-stdatomic-3.c
blob1f5a71b6219fc36e05189554dfc9338515efc666
1 /* Test __STDC_VERSION_STDATOMIC_H__ not in C11. */
2 /* { dg-do preprocess } */
3 /* { dg-options "-std=c11 -pedantic-errors" } */
5 #include <stdatomic.h>
7 #ifdef __STDC_VERSION_STDATOMIC_H__
8 #error "__STDC_VERSION_STDATOMIC_H__ defined"
9 #endif