llvm-6502/test/FrontendC/2007-03-27-VarLengthArray.c
2009-03-01 15:01:51 +00:00

8 lines
148 B
C

// RUN: %llvmgcc -S %s -o - | grep {getelementptr \\\[0 x i32\\\]}
extern void f(int *);
int e(int m, int n) {
int x[n];
f(x);
return x[m];
}