12 lines
126 B
Rust
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(); }
|