rust/src/test/run-pass/export-non-interference2.rs

10 lines
111 B
Rust

mod foo {
mod bar {
fn y() { x(); }
}
fn x() { log "x"; }
}
fn main() { foo::bar::y(); }