2011-05-12 10:24:54 -05:00
|
|
|
import bar::baz;
|
|
|
|
import foo::zed;
|
2011-01-17 15:17:09 -06:00
|
|
|
mod foo {
|
|
|
|
mod zed {
|
|
|
|
fn baz() {
|
|
|
|
log "baz";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
mod bar {
|
2011-05-12 10:24:54 -05:00
|
|
|
import zed::baz;
|
2011-05-31 20:24:06 -05:00
|
|
|
export baz;
|
2011-01-17 15:17:09 -06:00
|
|
|
mod foo {
|
|
|
|
mod zed {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fn main(vec[str] args) {
|
|
|
|
baz();
|
|
|
|
}
|