#![allow(dead_code, deprecated, unused_variables, unused_mut)] #[derive(PartialEq, PartialOrd)] enum E { Top, Bottom, } fn main() { assert!(E::Top < E::Bottom); }