]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/large_array_index.rs
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / src / test / 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 }