rust/src/test/run-pass/export-non-interference3.rs
2011-07-27 15:54:33 +02:00

13 lines
128 B
Rust

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