YouCompleteMe/cpp/llvm/test/Transforms/PruneEH/2003-09-14-ExternalCall.ll

15 lines
337 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: opt < %s -prune-eh -S | grep invoke
declare void @External()
define void @foo() {
invoke void @External( )
to label %Cont unwind label %Cont
Cont: ; preds = %0, %0
%exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
cleanup
ret void
}
declare i32 @__gxx_personality_v0(...)