1 /* { dg-do compile } */
2 /* { dg-options "-O2 -g" } */
3 /* { dg-require-effective-target alloca } */
4
5 int *p;
6
7 void
8 test (int a)
9 {
10 if (a > 0)
11 p = __builtin_alloca (4);
12 }