diff --git a/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx b/test/CodeGen/X86/2003-08-23-DeadBlockTest.llx index a0f8362667c..9efbf09b426 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 }