llvm-6502/test/FrontendC/2007-03-27-VarLengthArray.c

8 lines
136 B
C
Raw Normal View History

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