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).
9 fn get(&self) -> usize;
16 impl Even for isize { }
18 impl Odd for usize { }
20 impl<T:Even> MyTrait for T {
21 fn get(&self) -> usize { 0 }
24 impl<T:Odd> MyTrait for T {
27 fn get(&self) -> usize { 0 }