2023-10-16 17:36:39 +00:00
|
|
|
// skip-filecheck
|
2023-09-20 21:43:33 +00:00
|
|
|
//@ unit-test: GVN
|
2023-06-08 09:18:34 +02:00
|
|
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
2020-07-28 14:39:45 +02:00
|
|
|
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
|
|
|
|
2023-09-20 21:43:33 +00:00
|
|
|
// EMIT_MIR large_array_index.main.GVN.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];
|
|
|
|
}
|