llvm-6502/test/Transforms/CorrelatedExprs/2002-10-07-NoImmediateDominator.ll
2003-09-16 15:29:54 +00:00

18 lines
242 B
LLVM

; RUN: llvm-as < %s | 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
}