about summary refs log tree commit diff
path: root/tests/ui/issues/issue-8506.rs
blob: 30a789a3e27bf9e1078131cb4729a87c2c6cedec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ run-pass
#![allow(non_upper_case_globals)]

#![allow(dead_code)]

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

static one : Either = Either::One;

pub fn main () { }