Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / CodeGen / X86 / 2003-08-23-DeadBlockTest.llx
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
2
3 implementation
4
5 int %test() {
6 entry:   ret int 7 
7 Test:   ; dead block!
8         %A = call int %test()
9         %B = call int %test()
10         %C = add int %A, %B
11         ret int %C
12 }
13