about summary refs log tree commit diff
path: root/tests/ui/enum/simple-enum-usage-8506.rs
blob: ebe095d84e4378cf65507f40c2cbb9e6981d68e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// https://github.com/rust-lang/rust/issues/8506
//@ run-pass
#![allow(non_upper_case_globals)]

#![allow(dead_code)]

enum Either {
    One,
    Other(String,String)
}

static one : Either = Either::One;

pub fn main () { }