2023-04-05 09:44:20 +01:00
|
|
|
// ignore-wasm32 compiled with panic=abort by default
|
2020-07-28 14:39:45 +02:00
|
|
|
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
|
|
|
|
2020-07-29 22:39:09 +02:00
|
|
|
// EMIT_MIR large_array_index.main.ConstProp.diff
|
2020-07-28 14:39:45 +02:00
|
|
|
fn main() {
|
|
|
|
// check that we don't propagate this, because it's too large
|
|
|
|
let x: u8 = [0_u8; 5000][2];
|
|
|
|
}
|