1 /* { dg-do compile } */
2 
foo(int n)3 void foo(int n)
4 {
5   struct X { int a[n]; } y;
6 
7   struct X baz (struct X x)
8     {
9       x.a[0] = 1;
10       return x;
11     }
12 
13   y.a[0] = 0;
14   y = baz(y);
15   if (y.a[0] != 1)
16     __builtin_abort ();
17 }
18