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

14 lines
133 B
Rust

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