-; RUN: llvm-as < %s | opt -adce -disable-output
+; RUN: opt < %s -adce -disable-output
define void @test() {
br i1 false, label %then, label %endif
to label %invoke_cont unwind label %invoke_catch
invoke_catch: ; preds = %then
- unwind
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
+ resume { i8*, i32 } %exn
invoke_cont: ; preds = %then
ret void
ret void
}
+declare i32 @__gxx_personality_v0(...)