summaryrefslogtreecommitdiffstats
path: root/src/test/ui/structs-enums/enum-export-inheritance.rs
blob: 6a36a004a7c945ab3bf48a8275b6e2e5e2b94db4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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;
}