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