]> git.lizzy.rs Git - rust.git/blob - src/test/ui/structs-enums/enum-export-inheritance.rs
Rollup merge of #89468 - FabianWolff:issue-89358, r=jackh726
[rust.git] / src / test / ui / structs-enums / enum-export-inheritance.rs
1 // run-pass
2 #![allow(dead_code)]
3 // pretty-expanded FIXME #23616
4
5 mod a {
6     pub enum Foo {
7         Bar,
8         Baz,
9         Boo
10     }
11 }
12
13 pub fn main() {
14     let _x = a::Foo::Bar;
15 }