1 // Tests that we consider `T: Sugar + Fruit` to be ambiguous, even
2 // though no impls are found.
7 impl<T:Sugar> Sweet<T> { fn dummy(&self) { } }
9 impl<T:Fruit> Sweet<T> { fn dummy(&self) { } }
13 impl<X, T> A<T, X> where T: Bar<X> { fn f(&self) {} }
15 impl<X> A<i32, X> { fn f(&self) {} }