Files
rust/tests/ui/enum/simple-enum-usage-8506.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
225 B
Rust
Raw Permalink Normal View History

2025-07-13 16:56:31 -04:00
// 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 () { }