diff options
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/enum-export-inheritance.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/run-pass/enum-export-inheritance.rs b/src/test/run-pass/enum-export-inheritance.rs new file mode 100644 index 00000000000..1fddddba331 --- /dev/null +++ b/src/test/run-pass/enum-export-inheritance.rs @@ -0,0 +1,12 @@ +mod a { + pub enum Foo { + Bar, + Baz, + Boo + } +} + +fn main() { + let x = a::Bar; +} + |
