rust/src/test/run-pass/import7.rs

16 lines
223 B
Rust

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