summaryrefslogtreecommitdiff
path: root/clang/test/Frontend/ir-support-codegen.ll
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Frontend/ir-support-codegen.ll')
-rw-r--r--clang/test/Frontend/ir-support-codegen.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Frontend/ir-support-codegen.ll b/clang/test/Frontend/ir-support-codegen.ll
new file mode 100644
index 0000000..e5e5b62
--- /dev/null
+++ b/clang/test/Frontend/ir-support-codegen.ll
@@ -0,0 +1,9 @@
+; REQUIRES: x86-64-registered-target
+; 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
+}