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