]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/slice_len.rs
Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020...
[rust.git] / src / test / mir-opt / const_prop / slice_len.rs
1 // EMIT_MIR_FOR_EACH_BIT_WIDTH
2
3 // EMIT_MIR slice_len.main.ConstProp.diff
4 fn main() {
5     (&[1u32, 2, 3] as &[u32])[1];
6 }