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

10 lines
119 B
Rust

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