blob: 8632c21e5f7e9e97215a1e6f7b5cf450811072bc [file] [log] [blame] [edit]
//@ run-pass
#![allow(unused_imports)]
use foo::zed;
use bar::baz;
mod foo {
pub mod zed {
pub fn baz() { println!("baz"); }
}
}
mod bar {
pub use foo::zed::baz;
}
pub fn main() { baz(); }