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

10 lines
119 B
Rust
Raw Normal View History

2020-12-06 17:01:35 -06:00
// run-pass
use zed::bar;
mod zed {
pub fn bar() { println!("bar"); }
}
pub fn main() { let _zed = 42; bar(); }