aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/arm-apcs-arguments.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-12 01:00:39 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-12 01:00:39 +0000
commit5e7bacef79f7725f4abc45e2a5eccedae40dfcd3 (patch)
tree853c012ec2944f7162d6ba3399b7b834209c9881 /test/CodeGen/arm-apcs-arguments.c
parent34d91fddd0252d64456cdcea0bd22073f006f4e2 (diff)
Stub out room for ARM APCS ABI implementation (and AAPCS_VFP, although you can't
hit this via command line options yet). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/arm-apcs-arguments.c')
-rw-r--r--test/CodeGen/arm-apcs-arguments.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGen/arm-apcs-arguments.c b/test/CodeGen/arm-apcs-arguments.c
new file mode 100644
index 0000000000..f646806490
--- /dev/null
+++ b/test/CodeGen/arm-apcs-arguments.c
@@ -0,0 +1,6 @@
+// RUN: clang-cc -triple armv7-apple-darwin9 -emit-llvm -o - %s | FileCheck %s
+
+// CHECK: define arm_apcscc signext i8 @f0()
+char f0(void) {
+ return 0;
+}