2012-09-06 19:44:42 -05:00
|
|
|
enum thing = uint;
|
|
|
|
impl thing : cmp::Ord { //~ ERROR missing method `gt`
|
2012-09-19 20:00:26 -05:00
|
|
|
pure fn lt(other: &thing) -> bool { *self < *other }
|
|
|
|
pure fn le(other: &thing) -> bool { *self < *other }
|
|
|
|
pure fn ge(other: &thing) -> bool { *self < *other }
|
2012-09-06 19:44:42 -05:00
|
|
|
}
|
|
|
|
fn main() {}
|