1 /* Test for _Atomic: not in C99. */ 2 /* { dg-do compile } */ 3 /* { dg-options "-std=c99 -pedantic-errors" } */ 4 5 _Atomic int i; /* { dg-error "_Atomic" } */ 6 _Atomic (int) j; /* { dg-error "_Atomic" } */ 7 int *_Atomic p; /* { dg-error "_Atomic" } */ 8 void f (int a[_Atomic]); /* { dg-error "_Atomic" } */ 9