summaryrefslogtreecommitdiffstats
path: root/src/test/ui/deriving/deriving-enum-single-variant.rs
blob: 1c5979c0747585c9e2355e8eff86a1e044058fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
// pretty-expanded FIXME #23616
#![allow(non_camel_case_types)]

pub type task_id = isize;

#[derive(PartialEq)]
pub enum Task {
    TaskHandle(task_id)
}

pub fn main() { }