Sign in
cobalt
/
cobalt
/
04cd6faca4dd5039a1b810e9ba7b7a79e51a781d
/
.
/
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
];
}