summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/check_const-feature-gated.rs
blob: f4faab1abc287738cbe9948ba63f7c9afe790f82 (plain)
1
2
3
4
5
6
7
// run-pass

const ARR: [usize; 1] = [2];

fn main() {
    let _ = 5 << ARR[0];
}