Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / warn / Wvla-3.C
blobfcfb0da902f62451b0337bec681ec11342c76ffd
1 /* { dg-do compile } */
2 /* { dg-options "-pedantic-errors -Wno-vla" } */
3 /* { dg-require-effective-target alloca } */
4 /* { dg-require-effective-target alloca } */
6 void func (int i)
8   int array[i];