1 ; RUN: opt < %s -inline -disable-output 2 3 define i32 @main() { 4 entry: 5 invoke void @__main( ) 6 to label %LongJmpBlkPost unwind label %LongJmpBlkPre 7 8 LongJmpBlkPost: 9 ret i32 0 10 11 LongJmpBlkPre: 12 %i.3 = phi i32 [ 0, %entry ], [ 0, %entry ] ; <i32> [#uses=0] 13 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 14 cleanup 15 ret i32 0 16 } 17 18 define void @__main() { 19 ret void 20 } 21 22 declare i32 @__gxx_personality_v0(...) 23