projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb9886
)
Testcase for llvm-gcc commit r128230.
author
Eric Christopher
<echristo@apple.com>
Thu, 24 Mar 2011 21:59:03 +0000
(21:59 +0000)
committer
Eric Christopher
<echristo@apple.com>
Thu, 24 Mar 2011 21:59:03 +0000
(21:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128242
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/FrontendC/vla-3.c
[new file with mode: 0644]
patch
|
blob
diff --git a/test/FrontendC/vla-3.c
b/test/FrontendC/vla-3.c
new file mode 100644
(file)
index 0000000..
eca9675
--- /dev/null
+++ b/
test/FrontendC/vla-3.c
@@ -0,0
+1,11
@@
+// RUN: %llvmgcc -std=gnu99 %s -S -o - | grep ".*alloca.*align 16"
+
+void adr(char *);
+
+void vlaalign(int size)
+{
+ char __attribute__((aligned(16))) tmp[size+32];
+ char tmp2[size+16];
+
+ adr(tmp);
+}