2011-05-12 17:24:54 +02:00
|
|
|
import bar::baz;
|
|
|
|
import foo::zed;
|
2011-01-14 17:20:14 -05:00
|
|
|
mod foo {
|
2011-07-27 14:19:39 +02:00
|
|
|
mod zed {
|
|
|
|
fn baz() { log "baz"; }
|
2011-01-14 17:20:14 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
mod bar {
|
2011-07-27 14:19:39 +02:00
|
|
|
import zed::baz;
|
|
|
|
export baz;
|
2011-01-14 17:20:14 -05:00
|
|
|
}
|
2011-07-27 14:19:39 +02:00
|
|
|
fn main() { baz(); }
|