mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 18:31:04 +00:00
ab98f9d155
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138894 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
337 B
LLVM
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(...)
|