mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
14 lines
201 B
LLVM
14 lines
201 B
LLVM
|
; RUN: llvm-as < %s | opt -inline | llvm-dis | grep "br label %cleanup"
|
||
|
|
||
|
define void @g() {
|
||
|
unwind
|
||
|
}
|
||
|
|
||
|
define i32 @f1() {
|
||
|
entry: unwind_to %cleanup
|
||
|
call void @g()
|
||
|
ret i32 0
|
||
|
cleanup:
|
||
|
ret i32 1
|
||
|
}
|