rust/src/test/run-pass/import7.rs

20 lines
200 B
Rust
Raw Normal View History

import bar.baz;
import foo.zed;
mod foo {
mod zed {
fn baz() {
log "baz";
}
}
}
mod bar {
import zed.baz;
mod foo {
mod zed {
}
}
}
fn main(vec[str] args) {
baz();
}