1 // compile-flags: -C overflow-checks=on
8 // START rustc.main.ConstProp.before.mir
11 // _2 = CheckedAdd(const 1u32, const 1u32);
12 // assert(!move (_2.1: bool), "attempt to add with overflow") -> bb1;
14 // END rustc.main.ConstProp.before.mir
15 // START rustc.main.ConstProp.after.mir
18 // _2 = (const 2u32, const false);
19 // assert(!move (_2.1: bool), "attempt to add with overflow") -> bb1;
21 // END rustc.main.ConstProp.after.mir