Skip to content

Commit 6f70896

Browse files
committed
Add new test for export globs, xfailed.
1 parent 224eb97 commit 6f70896

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/test/run-pass/export-glob.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// xfail-test
2+
// Export the enum variants, without the enum
3+
4+
mod foo {
5+
export bar::*;
6+
mod bar {
7+
const a : int = 10;
8+
}
9+
}
10+
11+
fn main() { let v = foo::a; }

0 commit comments

Comments
 (0)