mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
11 lines
266 B
Rust
11 lines
266 B
Rust
// skip-filecheck
|
|
//@ test-mir-pass: GVN
|
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
|
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
|
|
|
// EMIT_MIR large_array_index.main.GVN.diff
|
|
fn main() {
|
|
// check that we don't propagate this, because it's too large
|
|
let x: u8 = [0_u8; 5000][2];
|
|
}
|