1 // Test for using an object with an associated type binding as the
2 // instantiation for a generic type with a bound.
8 fn get(&self) -> Self::SomeType;
11 fn get_int<T:SomeTrait<SomeType=i32>+?Sized>(x: &T) -> i32 {
15 impl SomeTrait for i32 {
17 fn get(&self) -> i32 {
24 let x1: &SomeTrait<SomeType=i32> = &x;