summaryrefslogtreecommitdiff
path: root/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll
blob: 37e077f21cb9c361ec047bf0835e745abf5b36ed (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | opt -adce -disable-output

define i32 @main() {
        br label %loop

loop:           ; preds = %loop, %0
        br label %loop
}