1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/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];
}