aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/X86/2003-08-23-DeadBlockTest.llx12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx b/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
new file mode 100644
index 0000000000..a8b2944216
--- /dev/null
+++ b/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
@@ -0,0 +1,12 @@
+; RUN: as < %s | llc -march=x86
+
+implementation
+
+void %test() {
+entry: ret void
+Test: ; dead block!
+ call void %test()
+ call void %test()
+ ret void
+}
+