]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-block-non-item-statement-3.rs
Auto merge of #64546 - weiznich:bugfix/rfc-2451-rerebalance-tests, r=nikomatsakis
[rust.git] / src / test / ui / consts / const-block-non-item-statement-3.rs
1 // run-pass
2 #![allow(dead_code)]
3
4 type Array = [u32; {  let x = 2; 5 }];
5
6 pub fn main() {
7     let _: Array = [0; 5];
8 }