blob: c14fb80f3f6d02b731ac01a77b65b3f004c016c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Test that a glob-export functions as an explicit
// named export when referenced from outside its scope.
// Modified to not use export since it's going away. --pcw
mod foo {
import bar::*;
export a;
mod bar {
const a : int = 10;
}
}
fn main() { let v = foo::a; }
|