Add new test for export globs, xfailed.

This commit is contained in:
Graydon Hoare 2012-02-17 13:39:15 -08:00
parent 224eb977f8
commit 6f70896854
1 changed files with 11 additions and 0 deletions

View File

@ -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; }