]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/array_index.rs
Rollup merge of #98387 - NobodyXu:feature/std_io_Error_try_downgrade_inner, r=yaahc
[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 }