about summary refs log tree commit diff
path: root/tests/ui/structs-enums/enum-export-inheritance.rs
blob: 5bb689260c2c44c7de5cc3dedc31b60ef1a6eef2 (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;
}