rust/tests/ui/structs-enums/enum-export-inheritance.rs
2024-02-16 20:02:50 +00:00

16 lines
186 B
Rust

//@ run-pass
#![allow(dead_code)]
//@ pretty-expanded FIXME #23616
mod a {
pub enum Foo {
Bar,
Baz,
Boo
}
}
pub fn main() {
let _x = a::Foo::Bar;
}