1; RUN: opt < %s -inline -prune-eh -disable-output -enable-new-pm=0 2define void @f2() personality i32 (...)* @__gxx_personality_v0 { 3 invoke void @f6() 4 to label %ok1 unwind label %lpad1 5 6ok1: 7 ret void 8 9lpad1: 10 landingpad {i8*, i32} 11 cleanup 12 invoke void @f4() 13 to label %ok2 unwind label %lpad2 14 15ok2: 16 call void @f8() 17 unreachable 18 19lpad2: 20 %exn = landingpad {i8*, i32} 21 cleanup 22 unreachable 23} 24 25declare void @f3() 26 27define void @f4() { 28 call void @f3() 29 ret void 30} 31 32declare void @f6() nounwind 33 34declare void @f8() 35 36declare i32 @__gxx_personality_v0(...) 37