diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/g++.dg/init/array24.C')
-rw-r--r-- | gcc-4.9/gcc/testsuite/g++.dg/init/array24.C | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/g++.dg/init/array24.C b/gcc-4.9/gcc/testsuite/g++.dg/init/array24.C new file mode 100644 index 000000000..2d72df403 --- /dev/null +++ b/gcc-4.9/gcc/testsuite/g++.dg/init/array24.C @@ -0,0 +1,7 @@ +// PR c++/29175 +// { dg-options "-Wno-vla" } + +void foo(int i) +{ + int x[][i] = { 0 }; +} |