Add or enable some tests.

This commit is contained in:
Rafael Ávila de Espíndola 2011-01-13 18:02:54 -05:00
parent 4ccdece184
commit 3722326cd7
2 changed files with 15 additions and 0 deletions

View file

@ -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))

View 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();
}