rust/tests/ui/consts/check_const-feature-gated.rs
2023-01-11 09:32:08 +00:00

8 lines
82 B
Rust

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