blob: 36bb9d03dcdce68b83001a7a268ecce406ad5401 [file] [log] [blame]
Dan Gohman512399d2007-11-27 00:50:57 +00001; RUN: llvm-upgrade < %s | not llvm-as |& grep {not verify as correct}
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002; PR1042
3
4int %foo() {
Reid Spencerc6b896b2007-08-01 23:07:36 +00005 %A = invoke int %foo( )
6 to label %L unwind label %L ; <int> [#uses=1]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007
Reid Spencerc6b896b2007-08-01 23:07:36 +00008L: ; preds = %0, %0
9 ret int %A
Dan Gohmanf17a25c2007-07-18 16:29:46 +000010}