]> git.lizzy.rs Git - rust.git/blob - src/test/ui/check_const-feature-gated.rs
Auto merge of #67000 - spastorino:remove-promoted-from-place, r=oli-obk
[rust.git] / src / test / ui / check_const-feature-gated.rs
1 // run-pass
2
3 const ARR: [usize; 1] = [2];
4
5 fn main() {
6     let _ = 5 << ARR[0];
7 }