mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-29 14:42:01 +00:00
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
This commit is contained in:
parent
63bcbb72f7
commit
1ec8e194eb
7
test/FrontendC/func-aligned.c
Normal file
7
test/FrontendC/func-aligned.c
Normal file
@ -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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user