1 /* { dg-do compile } */
2 /* { dg-require-effective-target alloca } */
3 /* { dg-options "-Walloca -O2" } */
4
5 // Make sure we don't warn on VLA with -Walloca.
6
7 void f (void*);
8
9 void h1 (unsigned n)
10 {
11 int a [n];
12 f (a);
13 }