rust/src/test/run-pass/import7.rs
2012-09-10 19:04:26 -07:00

16 lines
216 B
Rust

use foo::zed;
use bar::baz;
mod foo {
mod zed {
fn baz() { debug!("baz"); }
}
}
mod bar {
use zed::baz;
export baz;
mod foo {
mod zed { }
}
}
fn main(args: ~[~str]) { baz(); }