summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/issue-17756.rs
blob: 1835b177ff3691b40785ee53046c22a5bafd5f17 (plain)
1
2
3
4
5
6
7
8
// run-pass
#![allow(unused_variables)]
#![allow(non_upper_case_globals)]

const count : usize = 2 as usize;
fn main() {
    let larger : [usize; count*2];
}