2 use std::default::Default;
4 // Test that two blanket impls conflict (at least without negative
5 // bounds). After all, some other crate could implement Even or Odd
6 // for the same type (though this crate doesn't implement them at all).
9 fn get(&self) -> usize;
16 impl<T:Even> MyTrait for T {
17 fn get(&self) -> usize { 0 }
20 impl<T:Odd> MyTrait for T {
22 fn get(&self) -> usize { 0 }