2 #![feature(const_generics, const_evaluatable_checked)]
3 #![allow(incomplete_features)]
5 struct Foo<const B: bool>;
7 fn test<const N: usize>() -> Foo<{ N > 10 }> where Foo<{ N > 10 }>: Sized {
12 let _: Foo<true> = test::<12>();
13 let _: Foo<false> = test::<9>();