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