llvm/test/Verifier/invoke-1.ll
Chris Lattner adbb6383a9 testcases for PR1042
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32625 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-16 02:26:57 +00:00

11 lines
232 B
LLVM

; RUN: not llvm-as < %s -o /dev/null -f
; PR1042
int %foo() {
%A = invoke int %foo( )
to label %L unwind label %L ; <int> [#uses=1]
L: ; preds = %0, %0
ret int %A
}