// run-pass #![allow(dead_code)] #![allow(unused_variables)] // Test a where clause that uses a non-normalized projection type. // pretty-expanded FIXME #23616 trait Int { type T; fn dummy(&self) { } } trait NonZero { fn non_zero(self) -> bool; } fn foo,J>(t: I) -> bool where ::T : NonZero // ^~~~~~~~~~~~~ canonical form is just J { bar::() } fn bar() -> bool { true } fn main () { }