rust/src/test/run-pass/export-non-interference2.rs
2012-07-30 18:38:15 -07:00

13 lines
133 B
Rust

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