rust/tests/mir-opt/building/custom/terminators.assert_nonzero.built.after.mir
2023-06-15 15:19:11 -04:00

18 lines
240 B
Rust

// MIR for `assert_nonzero` after built
fn assert_nonzero(_1: i32) -> () {
let mut _0: ();
bb0: {
switchInt(_1) -> [0: bb1, otherwise: bb2];
}
bb1: {
unreachable;
}
bb2: {
return;
}
}