summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/2008-12-12-EH.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PowerPC/2008-12-12-EH.ll')
-rw-r--r--test/CodeGen/PowerPC/2008-12-12-EH.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/2008-12-12-EH.ll b/test/CodeGen/PowerPC/2008-12-12-EH.ll
new file mode 100644
index 000000000000..21218f55f039
--- /dev/null
+++ b/test/CodeGen/PowerPC/2008-12-12-EH.ll
@@ -0,0 +1,10 @@
+; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-unknown-linux-gnu | grep ^.L_Z1fv.eh
+; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin9 | grep ^__Z1fv.eh
+
+define void @_Z1fv() {
+entry:
+ br label %return
+
+return:
+ ret void
+}