summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2008-01-25-EmptyFunction.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2008-01-25-EmptyFunction.ll')
-rw-r--r--test/CodeGen/X86/2008-01-25-EmptyFunction.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2008-01-25-EmptyFunction.ll b/test/CodeGen/X86/2008-01-25-EmptyFunction.ll
new file mode 100644
index 000000000000..ffb82ae7f2b8
--- /dev/null
+++ b/test/CodeGen/X86/2008-01-25-EmptyFunction.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc -march=x86 | grep nop
+target triple = "i686-apple-darwin8"
+
+
+define void @bork() noreturn nounwind {
+entry:
+ unreachable
+}