mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-19 17:37:24 +00:00
13 lines
202 B
LLVM
13 lines
202 B
LLVM
|
; RUN: llvm-as < %s | llc
|
||
|
|
||
|
; PR1224
|
||
|
|
||
|
declare i32 @test()
|
||
|
define i32 @test2() {
|
||
|
%A = invoke i32 @test() to label %invcont unwind label %blat
|
||
|
invcont:
|
||
|
ret i32 %A
|
||
|
blat:
|
||
|
ret i32 0
|
||
|
}
|