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

12 lines
128 B
Rust

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