PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / Walloca-11.c
blob8484f9c778265bca1bfbb3219ebbab83f6f1c109
1 /* { dg-do compile } */
2 /* { dg-require-effective-target alloca } */
3 /* { dg-options "-Walloca -O2" } */
5 // Make sure we don't warn on VLA with -Walloca.
7 void f (void*);
9 void h1 (unsigned n)
11 int a [n];
12 f (a);