1 /* { dg-require-effective-target alloca } */
2 const int a = 3;
3 const int b = 50;
4 
foo(void)5 void foo (void)
6 {
7   long int x[a][b];
8   asm ("" : : "r" (x) : "memory");
9 }
10