mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 10:47:16 +00:00
15 lines
225 B
Rust
15 lines
225 B
Rust
// 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 () { }
|