rust/src/test/run-pass/use-import-export.rs
2012-08-01 19:16:06 -07:00

12 lines
126 B
Rust

mod foo {
fn x() -> int { return 1; }
}
mod bar {
fn y() -> int { return 1; }
}
fn main() { foo::x(); bar::y(); }