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