mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-18 10:31:57 +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
|
||
|
}
|