Skip to content

Commit b0b7fc9

Browse files
committed
---
yaml --- r: 14463 b: refs/heads/try c: 5f4dcb0 h: refs/heads/master i: 14461: 49334ea 14459: acf3242 14455: ed94dec 14447: 7a6a6fd 14431: de65559 14399: 4e7881e 14335: 4cc2ad4 v: v3
1 parent 721dbee commit b0b7fc9

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 1f4a6bb3ad8774c0b852bb4ffca83dd40a188570
5+
refs/heads/try: 5f4dcb0fa4099b60ae85ee1b977a253843fff595
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Test that a glob-export functions as an import
2+
// when referenced within its own local scope.
3+
4+
mod foo {
5+
export bar::*;
6+
mod bar {
7+
const a : int = 10;
8+
}
9+
fn zum() {
10+
let b = a;
11+
}
12+
}
13+
14+
fn main() { }

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// xfail-test
2-
// Export the enum variants, without the enum
2+
3+
// Test that a glob-export functions as an explicit
4+
// named export when referenced from outside its scope.
35

46
mod foo {
57
export bar::*;

0 commit comments

Comments
 (0)