Add new test for export globs, xfailed.
This commit is contained in:
parent
224eb977f8
commit
6f70896854
11
src/test/run-pass/export-glob.rs
Normal file
11
src/test/run-pass/export-glob.rs
Normal 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; }
|
Loading…
x
Reference in New Issue
Block a user