Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr16566-1.c
blob4ed4ab730e69247d148917a1c8ef9fb9f184bd57
1 /* ICE with flexible arrays in non-lvalue structures. Bug 16566
2 (comment #3). */
4 struct S;
6 struct C {
7 int i;
8 struct S *tab[];
9 };
11 struct S { struct C c; };
13 void foo (struct S *x) {
14 foo(((void)1, x->c).tab[0]);