llvm-6502/test/Verifier/invoke-1.ll
2007-08-01 23:07:36 +00:00

11 lines
224 B
LLVM

; RUN: llvm-upgrade < %s | not llvm-as &| grep {not verify as correct}
; PR1042
int %foo() {
%A = invoke int %foo( )
to label %L unwind label %L ; <int> [#uses=1]
L: ; preds = %0, %0
ret int %A
}