OSDN Git Service

Fix misapplied patch.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / pr16566-1.c
1 /* ICE with flexible arrays in non-lvalue structures.  Bug 16566
2    (comment #3).  */
3
4 struct S;
5
6 struct C {
7     int i;
8     struct S *tab[];
9 };
10
11 struct S { struct C c; };
12
13 void foo (struct S *x) {
14   foo(((void)1, x->c).tab[0]);
15 }