2011-05-12 10:24:54 -05:00
|
|
|
import foo::zed;
|
2012-06-25 17:14:28 -05:00
|
|
|
import bar::baz;
|
2011-01-17 15:17:09 -06:00
|
|
|
mod foo {
|
2011-07-27 07:19:39 -05:00
|
|
|
mod zed {
|
2012-07-30 18:01:07 -05:00
|
|
|
fn baz() { debug!{"baz"}; }
|
2011-01-17 15:17:09 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
mod bar {
|
2011-07-27 07:19:39 -05:00
|
|
|
import zed::baz;
|
|
|
|
export baz;
|
|
|
|
mod foo {
|
|
|
|
mod zed { }
|
2011-01-17 15:17:09 -06:00
|
|
|
}
|
|
|
|
}
|
2012-07-14 00:57:48 -05:00
|
|
|
fn main(args: ~[~str]) { baz(); }
|