mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
fea1dd0804
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79992 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
286 B
LLVM
15 lines
286 B
LLVM
; RUN: not llvm-as %s |& grep {not verify as correct}
|
|
; PR1042
|
|
|
|
define i32 @foo() {
|
|
br i1 false, label %L1, label %L2
|
|
L1: ; preds = %0
|
|
%A = invoke i32 @foo( )
|
|
to label %L unwind label %L ; <i32> [#uses=1]
|
|
L2: ; preds = %0
|
|
br label %L
|
|
L: ; preds = %L2, %L1, %L1
|
|
ret i32 %A
|
|
}
|
|
|