]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/slice_len.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[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 }