[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / g++.dg / init / array24.C
blobb38033f456758c5e2d9fa191b29e964ce9d2e5ed
1 // PR c++/29175
2 // { dg-options "-Wno-vla" }
3 // { dg-require-effective-target alloca }
5 void foo(int i)
7   int x[][i] = { 0 };