2012-09-05 14:32:05 -05:00
|
|
|
use foo::zed;
|
|
|
|
use bar::baz;
|
2011-01-17 15:17:09 -06:00
|
|
|
mod foo {
|
2011-07-27 07:19:39 -05:00
|
|
|
mod zed {
|
2012-08-22 19:24:52 -05:00
|
|
|
fn baz() { debug!("baz"); }
|
2011-01-17 15:17:09 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
mod bar {
|
2012-09-07 20:08:21 -05:00
|
|
|
use zed::baz;
|
2011-07-27 07:19:39 -05:00
|
|
|
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(); }
|