]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/const_prop/indirect.rs
Rollup merge of #105172 - alexs-sh:issue-98861-fix-next, r=scottmcm
[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 }