mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
16 lines
211 B
LLVM
16 lines
211 B
LLVM
|
; RUN: not llvm-as < %s >& /dev/null
|
||
|
|
||
|
declare i32 @v()
|
||
|
|
||
|
define i32 @f() {
|
||
|
e:
|
||
|
%r = invoke i32 @v()
|
||
|
to label %c unwind label %u ; <i32> [#uses=2]
|
||
|
|
||
|
c: ; preds = %e
|
||
|
ret i32 %r
|
||
|
|
||
|
u: ; preds = %e
|
||
|
ret i32 %r
|
||
|
}
|