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

10 lines
132 B
Rust

use zed::bar;
mod zed {
#[legacy_exports];
fn bar() { debug!("bar"); }
}
fn main(args: ~[~str]) { let zed = 42; bar(); }