diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-10-02 04:45:37 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-10-02 04:45:37 +0000 |
commit | 1ec8e194eb28bc451abab3624ff2cb85f22f7b6c (patch) | |
tree | f3cc18f92244d55cc0de942692f7310c2e043bf5 | |
parent | 63bcbb72f75c92e3eff4d994eb1e8cb6d64c6e9b (diff) |
Test case for aligned attribute on function declaration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83234 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/FrontendC/func-aligned.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/FrontendC/func-aligned.c b/test/FrontendC/func-aligned.c new file mode 100644 index 0000000000..40149f49d8 --- /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 +} |