1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Transforms/PruneEH/2003-09-14-ExternalCall.ll

15 lines
337 B
LLVM
Raw Normal View History

; RUN: opt < %s -prune-eh -S | grep invoke
2003-09-15 04:22:35 +02:00
2008-03-19 06:39:35 +01:00
declare void @External()
2003-09-15 04:22:35 +02:00
2008-03-19 06:39:35 +01:00
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
2003-09-15 04:22:35 +02:00
ret void
}
2008-03-19 06:39:35 +01:00
declare i32 @__gxx_personality_v0(...)