rust/tests/ui/crashes/ice-12253.rs

6 lines
161 B
Rust
Raw Normal View History

#[allow(overflowing_literals, unconditional_panic, clippy::no_effect)]
fn main() {
let arr: [i32; 5] = [0; 5];
arr[0xfffffe7ffffffffffffffffffffffff];
}