repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2007-03-27-VarLengthArray.c
blob
50d2204255fdc5ee548ab4449a71923f242387aa
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
}