]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/checked_add.rs
Merge commit '4c41a222ca5d1325fb4b6709395bd06e766cc042' into clippyup
[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 }