llvm/test/Verifier/invoke-2.ll
Dan Gohman ecb85ef713 Change &| to |&.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44345 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-27 00:50:57 +00:00

14 lines
253 B
LLVM

; RUN: llvm-upgrade < %s | not llvm-as -f |& grep {not verify as correct}
; PR1042
int %foo() {
br bool false, label %L1, label %L2
L1:
%A = invoke int %foo() to label %L unwind label %L
L2:
br label %L
L:
ret int %A
}