blob: 2c411a3bdc5f36cd2273f535202c4611a35fe7c0 [file] [log] [blame]
// run-pass
#![feature(const_generics)]
#![allow(incomplete_features)]
const fn inner<'a>() -> usize where &'a (): Sized {
3
}
fn test<'a>() {
let _: [u8; inner::<'a>()];
let _ = [0; inner::<'a>()];
}
fn main() {
test();
}