aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Transforms/ADCE/2002-07-29-Segfault.ll
blob: 20b6e18d581462cdf2bf0a4fc646b58bf6364cce (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: opt < %s -passes=adce -disable-output
; RUN: opt < %s -passes=adce -disable-output -adce-remove-loops

define void @test() {
        br label %BB3

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