PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / pr59011.c
blobb0d6c0f30a1d06e06dc72ec2f672ef80d1d8992c
1 /* PR middle-end/59011 */
2 /* { dg-do compile } */
3 /* { dg-options "-std=gnu99" } */
4 /* { dg-require-effective-target alloca } */
6 void
7 foo (int m)
9 int a[m];
10 void
11 bar (void)
14 int
15 baz (void)
17 return a[0];
20 a[0] = 42;
22 bar ();