Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
3159819ed71a2e814175a593147f7637a423ba56
/
.
/
test
/
CodeGen
/
2007-03-27-VarLengthArray.c
blob: ec11f55e6725b084157961299eb009843fe106ba [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
// CHECK: getelementptr inbounds i32* %{{vla|[0-9]}}
extern
void
f
(
int
*);
int
e
(
int
m
,
int
n
)
{
int
x
[
n
];
f
(
x
);
return
x
[
m
];
}