]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/const_prop/cast.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / mir-opt / const_prop / cast.rs
1 // unit-test: ConstProp
2 // EMIT_MIR cast.main.ConstProp.diff
3
4 fn main() {
5     let x = 42u8 as u32;
6
7     let y = 42u32 as u8;
8 }