1 ; RUN: opt < %s -passes=adce -disable-output
3 define void @test() personality ptr @__gxx_personality_v0 {
4 br i1 false, label %then, label %endif
7 invoke void null( ptr null )
8 to label %invoke_cont unwind label %invoke_catch
10 invoke_catch: ; preds = %then
11 %exn = landingpad {ptr, i32}
13 resume { ptr, i32 } %exn
15 invoke_cont: ; preds = %then
22 declare i32 @__gxx_personality_v0(...)