1 2 3 4 5 6 7 8 9
// check-pass #![feature(const_generics)] #![allow(incomplete_features)] fn test<const N: [u8; 1 + 2]>() {} struct Foo<const N: [u8; 1 + 2]>; fn main() {}