mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
14 lines
219 B
LLVM
14 lines
219 B
LLVM
|
; RUN: not llvm-as < %s -o /dev/null -f
|
||
|
; PR1042
|
||
|
|
||
|
int %foo() {
|
||
|
br bool false, label %L1, label %L2
|
||
|
L1:
|
||
|
%A = invoke int %foo() to label %L unwind label %L
|
||
|
|
||
|
L2:
|
||
|
br label %L
|
||
|
L:
|
||
|
ret int %A
|
||
|
}
|