summary refs log tree commit diff
path: root/src/test/compile-fail/issue-3344.rs
blob: a18f8562be0b6ec82df297f1de64b7484fa57635 (plain)
1
2
3
4
5
6
7
enum thing = uint;
impl thing : cmp::Ord { //~ ERROR missing method `gt`
    pure fn lt(other: &thing) -> bool { *self < **other }
    pure fn le(other: &thing) -> bool { *self < **other }
    pure fn ge(other: &thing) -> bool { *self < **other }
}
fn main() {}