rust/tests/ui/consts/check_const-feature-gated.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
83 B
Rust
Raw Normal View History

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