rust/tests/ui/imports/import4-rpass.rs
2024-02-16 20:02:50 +00:00

10 lines
120 B
Rust

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