]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/const_prop/cast.rs
Auto merge of #107000 - GuillaumeGomez:fix-items-in-doc-hidden-block, r=notriddle...
[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 }