]> git.proxmox.com Git - rustc.git/blob - tests/mir-opt/const_prop/checked_add.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / mir-opt / const_prop / checked_add.rs
1 // unit-test: ConstProp
2 // compile-flags: -C overflow-checks=on
3
4 // EMIT_MIR checked_add.main.ConstProp.diff
5 fn main() {
6 let x: u32 = 1 + 1;
7 }