1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02:00
llvm-mirror/test/Verifier/invoke-1.ll

11 lines
197 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() {
%A = invoke i32 @foo( )
to label %L unwind label %L ; <i32> [#uses=1]
L: ; preds = %0, %0
ret i32 %A
2006-12-16 03:26:57 +01:00
}