]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/const_prop/large_array_index.rs
Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt
[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 }