rust/tests/ui/imports/import4-rpass.rs

10 lines
120 B
Rust

//@ run-pass
use zed::bar;
mod zed {
pub fn bar() { println!("bar"); }
}
pub fn main() { let _zed = 42; bar(); }