1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu11 -Wc99-c11-compat" } */
3 
4 __extension__ struct S { int i; struct { int a; }; };
5 __extension__ _Noreturn void foo (void);
6 typedef int A;
7 __extension__ typedef int A;
8 __extension__ _Thread_local int i;
9 __extension__ _Static_assert (1, "foo");
10 __extension__ _Atomic int a;
11 __extension__ _Alignas (int) int aa;
12 enum e { E = __extension__ _Alignof (double) };
13 
14 void
fn(int n)15 fn (int n)
16 {
17   __extension__ _Generic (n, int: 0);
18 }
19