1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// { dg-do compile } struct A { double x[4]; }; struct B { A y[2]; }; A foo(B *p) { for ( int i=0; i<4; ++i ) p->y[1].x[i]=0; A a; return a; }