diff --git a/src/test/run-pass/export-glob.rs b/src/test/run-pass/export-glob.rs new file mode 100644 index 00000000000..7463e8ba295 --- /dev/null +++ b/src/test/run-pass/export-glob.rs @@ -0,0 +1,11 @@ +// xfail-test +// Export the enum variants, without the enum + +mod foo { + export bar::*; + mod bar { + const a : int = 10; + } +} + +fn main() { let v = foo::a; }