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:
63bcbb7
)
Test case for aligned attribute on function declaration.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 2 Oct 2009 04:45:37 +0000
(
04:45
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 2 Oct 2009 04:45:37 +0000
(
04:45
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83234
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/FrontendC/func-aligned.c
[new file with mode: 0644]
patch
|
blob
diff --git a/test/FrontendC/func-aligned.c
b/test/FrontendC/func-aligned.c
new file mode 100644
(file)
index 0000000..
40149f4
--- /dev/null
+++ b/
test/FrontendC/func-aligned.c
@@ -0,0
+1,7
@@
+// RUN: %llvmgcc %s -S -emit-llvm -o - | FileCheck %s
+
+// rdar://7270273
+void foo() __attribute__((aligned (64)));
+void foo() {
+// CHECK: define void @foo() {{.*}} align 64
+}