2023-10-16 12:36:39 -05:00
|
|
|
// skip-filecheck
|
2024-04-20 06:19:34 -05:00
|
|
|
//@ test-mir-pass: GVN
|
2023-06-08 02:18:34 -05:00
|
|
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
2020-07-28 07:39:45 -05:00
|
|
|
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
|
|
|
|
2023-09-20 16:43:33 -05:00
|
|
|
// EMIT_MIR large_array_index.main.GVN.diff
|
2020-07-28 07:39:45 -05:00
|
|
|
fn main() {
|
|
|
|
// check that we don't propagate this, because it's too large
|
|
|
|
let x: u8 = [0_u8; 5000][2];
|
|
|
|
}
|