1 // { dg-do assemble } 2 int i = 4; 3 struct S{ 4 char c[i]; // { dg-error "" } size not constant 5 int h; fooS6 int foo(){ 7 return h; 8 } 9 }; 10 main()11 int main() 12 { 13 S x; 14 int i = x.foo(); 15 } 16