]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/large_array_index.rs
Merge commit '4c41a222ca5d1325fb4b6709395bd06e766cc042' 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 }