1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Transforms/PruneEH/2003-09-14-ExternalCall.ll
Bill Wendling 722de8a9aa Update more tests to the new EH scheme.
llvm-svn: 138894
2011-08-31 21:04:11 +00:00

15 lines
337 B
LLVM

; 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(...)