1 /* { dg-do compile } */
2 /* { dg-options "-pedantic-errors -Wno-vla" } */
3 /* { dg-require-effective-target alloca } */
4 /* { dg-require-effective-target alloca } */
5 
func(int i)6 void func (int i)
7 {
8   int array[i];
9 }
10