aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/switch-truncate-crash.ll
blob: cc3c1ff28ed2bd3f05f458e17fe101f26ffee94b (plain)
1
2
3
4
5
6
7
; RUN: opt -instcombine < %s

define void @test() {
  switch i32 0, label %out [i32 0, label %out]
out:
  ret void
}