pr16566-2.c   [plain text]


/* ICE with flexible arrays in non-lvalue structures.  Bug 16566
   (comment #5).  */

struct A
{
    int i;
    int x[];
};

int foo(struct A a)
{ 
    return (a,a).x[0];
}