| 1 |
/* Test for _Atomic: not in C90. */ |
| 2 |
/* { dg-do compile } */ |
| 3 |
/* { dg-options "-std=c90 -pedantic-errors" } */ |
| 4 |
|
| 5 |
_Atomic int i; /* { dg-error "_Atomic" } */ |
| 6 |
_Atomic (int) j; /* { dg-error "_Atomic" } */ |
| 7 |
int *_Atomic p; /* { dg-error "_Atomic" } */ |