]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/const_prop/large_array_index.rs
Rollup merge of #107770 - notriddle:notriddle/br2nl, r=GuillaumeGomez
[rust.git] / tests / mir-opt / const_prop / large_array_index.rs
1 // EMIT_MIR_FOR_EACH_BIT_WIDTH
2
3 // EMIT_MIR large_array_index.main.ConstProp.diff
4 fn main() {
5     // check that we don't propagate this, because it's too large
6     let x: u8 = [0_u8; 5000][2];
7 }