[SimplifyLibCalls] Fix negative shifts being produced by the memchr -> bitfield trans...
[oota-llvm.git] / test / Transforms / InstCombine / switch-truncate-crash.ll
1 ; RUN: opt -instcombine < %s
2
3 define void @test() {
4   switch i32 0, label %out [i32 0, label %out]
5 out:
6   ret void
7 }