rust/src/test/run-pass/import8.rs

14 lines
109 B
Rust
Raw Normal View History

import foo.x;
import z = foo.x;
mod foo {
fn x(int y) {
log y;
}
}
fn main() {
x(10);
z(10);
}