2018-05-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / c90-atomic-1.c
blob3506563940d97ecd6a3b2a2a1c2ad2f8d67797ae
1 /* Test for _Atomic: not in C90. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c90 -pedantic-errors" } */
5 _Atomic int i; /* { dg-error "_Atomic" } */
6 _Atomic (int) j; /* { dg-error "_Atomic" } */
7 int *_Atomic p; /* { dg-error "_Atomic" } */