1// PR c++/29175 2// { dg-options "" } 3 4void foo(int i) 5{ 6 int x[][i] = { 0 }; // { dg-error "variable-sized|storage size" } 7} 8