1 // compile-flags: -Copt-level=0 -Coverflow-checks=yes
3 // Tests that division with a const does not emit a panicking branch for overflow
5 // EMIT_MIR div_overflow.const_divisor.PreCodegen.after.mir
6 pub fn const_divisor(a: i32) -> i32 {
10 // EMIT_MIR div_overflow.const_dividend.PreCodegen.after.mir
11 pub fn const_dividend(a: i32) -> i32 {