1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 16:02:52 +01:00
llvm-mirror/test/FrontendC/2007-03-27-VarLengthArray.c
2009-08-12 00:35:55 +00:00

8 lines
157 B
C

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