2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2018-09-25 16:51:35 -05:00
|
|
|
#![allow(dead_code)]
|
2014-12-30 22:32:49 -06:00
|
|
|
#[derive(Hash)]
|
2012-11-20 20:27:13 -06:00
|
|
|
enum Foo {
|
2015-03-25 19:06:52 -05:00
|
|
|
Bar(isize, char),
|
|
|
|
Baz(char, isize)
|
2012-11-20 20:27:13 -06:00
|
|
|
}
|
|
|
|
|
2014-12-30 22:32:49 -06:00
|
|
|
#[derive(Hash)]
|
2012-11-20 20:27:13 -06:00
|
|
|
enum A {
|
|
|
|
B,
|
|
|
|
C,
|
|
|
|
D,
|
|
|
|
E
|
|
|
|
}
|
|
|
|
|
2013-02-01 21:43:17 -06:00
|
|
|
pub fn main(){}
|