Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
ba3f4441cbc44bb7ab68ee29e9d330dc08a6b4bd
/
.
/
test
/
CodeGen
/
vla-2.c
blob: 894913da3ec73116c62bb7b29f9e5703cbd79523 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | FileCheck %s
// CHECK: alloca {{.*}}, align 16
extern
void
bar
(
int
[]);
void
foo
(
int
a
)
{
int
var
[
a
]
__attribute__
((
__aligned__
(
16
)));
bar
(
var
);
return
;
}