// run-pass #![feature(const_generics, const_evaluatable_checked)] #![allow(incomplete_features)] struct Foo; fn test() -> Foo<{ N > 10 }> { Foo } fn main() { let _: Foo = test::<12>(); let _: Foo = test::<9>(); }