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