llvm-project/llvm/test/CFrontend/2007-03-27-VarLengthArray.c

8 lines
136 B
C

// 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];
}