rust/src/test/run-pass/deriving-enum-single-variant.rs
2012-12-11 15:41:16 -08:00

9 lines
93 B
Rust

type task_id = int;
#[deriving_eq]
pub enum Task {
TaskHandle(task_id)
}
fn main() { }