blob: 48623b90120eb73c3953dd322c8a93abb3c939ad [file] [log] [blame]
Reid Spencer69ccadd2006-12-02 04:23:10 +00001; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
Chris Lattnerf3f062e2003-08-24 00:21:50 +00002
3implementation
4
Chris Lattnerc95f3b82004-07-02 05:43:51 +00005int %test() {
6entry: ret int 7
Chris Lattnerf3f062e2003-08-24 00:21:50 +00007Test: ; dead block!
Chris Lattnerc95f3b82004-07-02 05:43:51 +00008 %A = call int %test()
9 %B = call int %test()
10 %C = add int %A, %B
11 ret int %C
Chris Lattnerf3f062e2003-08-24 00:21:50 +000012}
13