blob: f14fd4d8c0ade30b9897d36aa08c51d1594d70ee [file] [log] [blame]
Duncan Sandsd14e9e72009-03-01 15:01:51 +00001// RUN: %llvmgcc -S %s -o - | grep {getelementptr \\\[0 x i32\\\]}
Duncan Sands6852c612007-04-16 21:13:57 +00002extern void f(int *);
3int e(int m, int n) {
4 int x[n];
5 f(x);
6 return x[m];
7}