rust/src/test/run-pass/import8.rs
2012-09-05 12:32:05 -07:00

10 lines
107 B
Rust

use foo::x;
use z = foo::x;
mod foo {
fn x(y: int) { log(debug, y); }
}
fn main() { x(10); z(10); }