Sign in
cobalt
/
cobalt
/
a3dd835b53c74ec0f3e791c01fbcde33bbf26c6d
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGen
/
2007-03-27-VarLengthArray.c
blob: db92dab36e33c5808effe0f7bd3931e85afe669f [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
// CHECK: getelementptr inbounds i32, i32* %{{vla|[0-9]}}
extern
void
f
(
int
*);
int
e
(
int
m
,
int
n
)
{
int
x
[
n
];
f
(
x
);
return
x
[
m
];
}