aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20000923-1.c
blob: 3244dc783008dbb9e60377860e0ee284e0d7cb83 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-require-effective-target alloca } */
const int a = 3;
const int b = 50;

void foo (void)
{
  long int x[a][b];
  asm ("" : : "r" (x) : "memory");
}