]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/array_index.rs
Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_clif-2021-09-19
[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 }