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

13 lines
133 B
Rust

mod foo {
export bar;
mod bar {
fn y() { x(); }
}
fn x() { #debug("x"); }
}
fn main() { foo::bar::y(); }