]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/array_index.rs
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
[rust.git] / src / test / mir-opt / const_prop / array_index.rs
1 // EMIT_MIR_FOR_EACH_BIT_WIDTH
2
3 // EMIT_MIR array_index.main.ConstProp.diff
4 fn main() {
5     let x: u32 = [0, 1, 2, 3][2];
6 }