Add or enable some tests.
This commit is contained in:
parent
4ccdece184
commit
3722326cd7
2 changed files with 15 additions and 0 deletions
|
|
@ -445,6 +445,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
|
|||
import2.rs \
|
||||
import3.rs \
|
||||
import4.rs \
|
||||
import5.rs \
|
||||
item-name-overload.rs \
|
||||
large-records.rs \
|
||||
lazy-init.rs \
|
||||
|
|
@ -483,6 +484,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
|
|||
arg-type-mismatch.rs \
|
||||
import.rs \
|
||||
import2.rs \
|
||||
import3.rs \
|
||||
while-type-error.rs \
|
||||
), \
|
||||
$(wildcard test/*/*.rs test/*/*.rc))
|
||||
|
|
|
|||
13
src/test/run-pass/import5.rs
Normal file
13
src/test/run-pass/import5.rs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import foo.bar;
|
||||
mod foo {
|
||||
import zed.bar;
|
||||
mod zed {
|
||||
fn bar() {
|
||||
log "foo";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn main(vec[str] args) {
|
||||
bar();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue