summaryrefslogtreecommitdiff
path: root/test/Frontend/ir-support-codegen.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Frontend/ir-support-codegen.ll')
-rw-r--r--test/Frontend/ir-support-codegen.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Frontend/ir-support-codegen.ll b/test/Frontend/ir-support-codegen.ll
new file mode 100644
index 000000000000..046b3af1c3ed
--- /dev/null
+++ b/test/Frontend/ir-support-codegen.ll
@@ -0,0 +1,8 @@
+; RUN: %clang_cc1 -S -o - %s | FileCheck %s
+
+target triple = "x86_64-apple-darwin10"
+
+; CHECK: .globl _f0
+define i32 @f0() nounwind ssp {
+ ret i32 0
+}