Add __builtion_unreachable to vector::size(), vector::capacity()
[official-gcc.git] / gcc / testsuite / gcc.dg / c99-atomic-1.c
blob3a13f77712207b02a674099b2f2272ceeb071004
1 /* Test for _Atomic: not in C99. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c99 -pedantic-errors" } */
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" } */