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
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
vla-3.c
blob
66acf58c1feb711489b09ae2111febc5725163d7
1
// RUN: %clang_cc1 -std=gnu99 %s -emit-llvm -o - | FileCheck %s
2
// CHECK: alloca {{.*}}, align 16
3
4
void
adr
(
char
*);
5
6
void
vlaalign
(
int
size
)
7
{
8
char
__attribute__
((
aligned
(
16
)))
tmp
[
size
+
32
];
9
char
tmp2
[
size
+
16
];
10
11
adr
(
tmp
);
12
}