mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
Add or enable some tests.
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
import foo.bar;
|
||||
mod foo {
|
||||
import zed.bar;
|
||||
mod zed {
|
||||
fn bar() {
|
||||
log "foo";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn main(vec[str] args) {
|
||||
bar();
|
||||
}
|
||||
Reference in New Issue
Block a user