2011-06-15 13:19:50 -05:00
|
|
|
|
2012-09-05 14:32:05 -05:00
|
|
|
use foo::x;
|
|
|
|
use z = foo::x;
|
2011-01-28 10:54:59 -06:00
|
|
|
|
|
|
|
mod foo {
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports];
|
2011-12-22 19:53:53 -06:00
|
|
|
fn x(y: int) { log(debug, y); }
|
2011-01-28 10:54:59 -06:00
|
|
|
}
|
|
|
|
|
2011-08-19 17:16:48 -05:00
|
|
|
fn main() { x(10); z(10); }
|