llvm-6502/test/Transforms/CorrelatedExprs/2002-10-07-NoImmediateDominator.ll

18 lines
257 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | opt -cee
;
; This testcase causes an assertion error.
;
implementation ; Functions:
void %test(int %A) {
br label %bb2
bb2:
ret void
bb3: ; No predecessors!
br bool true, label %bb4, label %bb2
bb4:
ret void
}