1 ; RUN: opt < %s -passes=lower-switch -disable-output
3 ; This test verify -lower-switch does not crash after deleting the default block.
7 define i32 @unreachable(i32 %x) {
10 switch i32 %x, label %unreachable [
22 %0 = call i32 @f(i32 0)
25 %1 = call i32 @f(i32 1)