]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/const_prop/indirect.rs
Auto merge of #107197 - aliemjay:patch-2, r=jackh726
[rust.git] / tests / mir-opt / const_prop / indirect.rs
1 // unit-test: ConstProp
2 // compile-flags: -C overflow-checks=on
3
4 // EMIT_MIR indirect.main.ConstProp.diff
5 fn main() {
6     let x = (2u32 as u8) + 1;
7 }