]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/checked_add.rs
Rollup merge of #98387 - NobodyXu:feature/std_io_Error_try_downgrade_inner, r=yaahc
[rust.git] / src / test / mir-opt / const_prop / checked_add.rs
1 // compile-flags: -C overflow-checks=on
2
3 // EMIT_MIR checked_add.main.ConstProp.diff
4 fn main() {
5     let x: u32 = 1 + 1;
6 }