rust/tests/ui/consts/issue-17756.rs
2024-02-16 20:02:50 +00:00

8 lines
159 B
Rust

//@ run-pass
#![allow(unused_variables)]
#![allow(non_upper_case_globals)]
const count : usize = 2 as usize;
fn main() {
let larger : [usize; count*2];
}