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

11 lines
130 B
Rust

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