rust/src/test/run-pass/deriving-enum-single-variant.rs

9 lines
97 B
Rust
Raw Normal View History

2012-12-11 17:40:49 -06:00
type task_id = int;
#[deriving_eq]
pub enum Task {
TaskHandle(task_id)
}
pub fn main() { }