aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGen/X86/2003-08-23-DeadBlockTest.llx11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx b/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
index a0f8362667..9efbf09b42 100644
--- a/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
+++ b/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx
@@ -2,11 +2,12 @@
implementation
-void %test() {
-entry: ret void
+int %test() {
+entry: ret int 7
Test: ; dead block!
- call void %test()
- call void %test()
- ret void
+ %A = call int %test()
+ %B = call int %test()
+ %C = add int %A, %B
+ ret int %C
}