1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 16:02:52 +01:00
llvm-mirror/test/Verifier/invoke-2.ll

15 lines
286 B
LLVM
Raw Normal View History

; RUN: not llvm-as %s |& grep {not verify as correct}
2006-12-16 03:26:57 +01:00
; 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
2006-12-16 03:26:57 +01:00
}