rust/src/test/run-pass/export-non-interference2.rs
Marijn Haverbeke 3816e57fd2 Downcase std modules again, move to :: for module dereferencing
This should be a snapshot transition.
2011-05-12 21:30:44 +02:00

19 lines
135 B
Rust

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