rust/tests/ui/consts/check_const-feature-gated.rs
2024-02-16 20:02:50 +00:00

8 lines
83 B
Rust

//@ run-pass
const ARR: [usize; 1] = [2];
fn main() {
let _ = 5 << ARR[0];
}