summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20030331-2.c
blob: 5dc164fc4fe2d930a0af3ee46da0b23b1e9fb489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-options "" }
/* { dg-require-effective-target alloca } */

extern int printf (const char *, ...);

int foo() {
  int yd;
  float in[1][yd];
 
  void bar() {
    printf("%p\n",in[0]);
  }
}