Add or enable some tests.
This commit is contained in:
parent
4ccdece184
commit
3722326cd7
2 changed files with 15 additions and 0 deletions
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