From: Evan Cheng Date: Fri, 2 Oct 2009 04:45:37 +0000 (+0000) Subject: Test case for aligned attribute on function declaration. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=1ec8e194eb28bc451abab3624ff2cb85f22f7b6c;p=oota-llvm.git 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 --- diff --git a/test/FrontendC/func-aligned.c b/test/FrontendC/func-aligned.c new file mode 100644 index 00000000000..40149f49d8e --- /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 +}