☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
2007-03-27-VarLengthArray.c
☽
☼
clang/test/CodeGen/2007-03-27-VarLengthArray.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
3
// CHECK: getelementptr inbounds i32, ptr %{{vla|[0-9]}}
4
extern void f(int *);
5
int e(int m, int n) {
6
int x[n];
7
f(x);
8
return x[m];
9
}