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

7 lines
98 B
Rust
Raw Normal View History

#![allow(clippy::no_effect)]
fn main() {
const CONSTANT: usize = 8;
[1; 1 % CONSTANT];
}