// compile-flags: -Zmir-opt-level=3 // run-pass #![feature(const_generics)] #![allow(incomplete_features)] fn main() { fn foo() -> [u8; N] { [0; N] } let _x = foo::<1>(); }