1 ; This testcase was reduced from Shootout-C++/reversefile.cpp by bugpoint
3 ; RUN: opt < %s -passes=lower-invoke -disable-output
9 define void @foo() personality ptr @__gxx_personality_v0 {
12 to label %invoke_cont.0 unwind label %try_catch
13 invoke_cont.0: ; preds = %then
15 to label %try_exit unwind label %try_catch
16 try_catch: ; preds = %invoke_cont.0, %then
17 %__tmp.0 = phi ptr [ null, %invoke_cont.0 ], [ null, %then ] ; <ptr> [#uses=0]
18 %res = landingpad { ptr }
21 try_exit: ; preds = %invoke_cont.0
25 declare i32 @__gxx_personality_v0(...)