rust/src/test/run-pass/export-non-interference3.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

20 lines
135 B
Rust

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