2012-02-21 18:09:44 -06:00
|
|
|
// Test that a glob-export functions as an explicit
|
|
|
|
// named export when referenced from outside its scope.
|
2012-02-17 15:39:15 -06:00
|
|
|
|
|
|
|
mod foo {
|
|
|
|
export bar::*;
|
|
|
|
mod bar {
|
|
|
|
const a : int = 10;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() { let v = foo::a; }
|