1 // Test that associated type bounds are correctly normalized when checking
2 // default associated type values.
5 #![allow(incomplete_features)]
6 #![feature(specialization)]
11 type Assoc: PartialEq; // PartialEq<<Self as Foo>::Assoc>
14 default type Assoc = Never;
18 type Selection: PartialEq;
20 trait Trait2: PartialEq<Self> {}
21 impl<T: Trait2> Trait1 for T {
22 default type Selection = T;