summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-8506.rs
blob: cc32b89234f21eced1db4a55985920dbfb3d5981 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// run-pass
// pretty-expanded FIXME #23616
#![allow(non_upper_case_globals)]

#![allow(dead_code)]

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

static one : Either = Either::One;

pub fn main () { }