1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu90 -pedantic-errors -Wc99-c11-compat" } */
4 struct S
{ int i
; struct { int a
; }; }; /* { dg-error "ISO C90 doesn.t support unnamed structs/unions" } */
5 _Noreturn
void foo (void); /* { dg-error "ISO C90 does not support ._Noreturn." } */
7 typedef int A
; /* { dg-error "redefinition of typedef .A." } */
8 _Thread_local
int i
; /* { dg-error "ISO C90 does not support ._Thread_local." } */
9 _Static_assert (1, "foo"); /* { dg-error "ISO C90 does not support ._Static_assert." } */
10 _Atomic
int a
; /* { dg-error "ISO C90 does not support the ._Atomic. qualifier" } */
11 _Alignas (int) int aa
; /* { dg-error "ISO C90 does not support ._Alignas." } */
12 enum e
{ E
= _Alignof (double) }; /* { dg-error "ISO C90 does not support ._Alignof." } */
17 _Generic (n
, int: 0); /* { dg-error "ISO C90 does not support ._Generic." } */