[llvm-commits] [llvm] r83234 - /llvm/trunk/test/FrontendC/func-aligned.c

Evan Cheng evan.cheng at apple.com
Thu Oct 1 21:45:37 PDT 2009


Author: evancheng
Date: Thu Oct  1 23:45:37 2009
New Revision: 83234

URL: http://llvm.org/viewvc/llvm-project?rev=83234&view=rev
Log:
Test case for aligned attribute on function declaration.

Added:
    llvm/trunk/test/FrontendC/func-aligned.c

Added: llvm/trunk/test/FrontendC/func-aligned.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/func-aligned.c?rev=83234&view=auto

==============================================================================
--- llvm/trunk/test/FrontendC/func-aligned.c (added)
+++ llvm/trunk/test/FrontendC/func-aligned.c Thu Oct  1 23:45:37 2009
@@ -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
+}





More information about the llvm-commits mailing list