Skip to content

Commit 167acfe

Browse files
committed
---
yaml --- r: 1238 b: refs/heads/master c: 3722326 h: refs/heads/master v: v3
1 parent e8d81a4 commit 167acfe

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 4ccdece184fbc0718efb15d411968b7688d53eb6
2+
refs/heads/master: 3722326cd7dddf367edee4adf44fc3da89955428

trunk/src/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
445445
import2.rs \
446446
import3.rs \
447447
import4.rs \
448+
import5.rs \
448449
item-name-overload.rs \
449450
large-records.rs \
450451
lazy-init.rs \
@@ -483,6 +484,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
483484
arg-type-mismatch.rs \
484485
import.rs \
485486
import2.rs \
487+
import3.rs \
486488
while-type-error.rs \
487489
), \
488490
$(wildcard test/*/*.rs test/*/*.rc))

trunk/src/test/run-pass/import5.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import foo.bar;
2+
mod foo {
3+
import zed.bar;
4+
mod zed {
5+
fn bar() {
6+
log "foo";
7+
}
8+
}
9+
}
10+
11+
fn main(vec[str] args) {
12+
bar();
13+
}

0 commit comments

Comments
 (0)