blob: ec11f55e6725b084157961299eb009843fe106ba [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
Eric Christopherc0ecde32011-07-26 22:27:01 +00003// CHECK: getelementptr inbounds i32* %{{vla|[0-9]}}
Eric Christopher3883e662011-07-26 22:17:02 +00004extern void f(int *);
5int e(int m, int n) {
6 int x[n];
7 f(x);
8 return x[m];
9}