1 /* { dg-do compile } */ 2 /* { dg-options "-std=gnu90 -Wc90-c99-compat" } */ 3 4 __extension__ _Bool b; 5 __extension__ _Complex double c = __builtin_complex (0.0, 0.0); 6 __extension__ long long l; 7 __extension__ struct A { int i; char a[]; }; 8 __extension__ struct { long int b: 2; } s; 9 __extension__ const const int i; 10 __extension__ volatile volatile int v; 11 __extension__ struct S { int a[2]; }; 12 extern struct S foo (void); 13 __extension__ enum { E, }; 14 __extension__ void fn1 (char [*]); 15 16 __extension__ void fn2(char x[static4])17fn2 (char x[static 4]) 18 { 19 int i = (int) { 1 }; 20 struct A a = { .i = 3 }; 21 } 22 23 __extension__ void fn5(void)24fn5 (void) 25 { 26 (foo ()).a[0]; 27 } 28 29 __extension__ void fn7 (int n, int a[n]); 30