1/* ICE with flexible arrays in non-lvalue structures. Bug 16566
2 (comment #5). */
3/* { dg-options "-Wno-psabi" { target { { i?86-*-* x86_64-*-* } && { ! { ia32 } } } } } */
4
5struct A
6{
7 int i;
8 int x[];
9};
10
11int foo(struct A a)
12{
13 return (a,a).x[0];
14}
15