1; RUN: opt < %s -prune-eh -S | not grep invoke 2 3define internal i32 @foo() personality i32 (...)* @__gxx_personality_v0 { 4 invoke i32 @foo( ) 5 to label %Normal unwind label %Except ; <i32>:1 [#uses=0] 6Normal: ; preds = %0 7 ret i32 12 8Except: ; preds = %0 9 landingpad { i8*, i32 } 10 catch i8* null 11 ret i32 123 12} 13 14define i32 @caller() personality i32 (...)* @__gxx_personality_v0 { 15 invoke i32 @foo( ) 16 to label %Normal unwind label %Except ; <i32>:1 [#uses=0] 17Normal: ; preds = %0 18 ret i32 0 19Except: ; preds = %0 20 landingpad { i8*, i32 } 21 catch i8* null 22 ret i32 1 23} 24 25declare i32 @__gxx_personality_v0(...) 26