1 /* PR middle-end/55851 */ 2 /* { dg-require-effective-target alloca } */ 3 4 enum { A = 1UL, B = -1UL } var = A; 5 void foo (char *); 6 7 void test(void)8 test (void) 9 { 10 char vla[1][var]; 11 vla[0][0] = 1; 12 foo (&vla[0][0]); 13 } 14