2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2012-09-05 14:32:05 -05:00
|
|
|
use foo::x;
|
2014-08-12 21:25:05 -05:00
|
|
|
use foo::x as z;
|
2011-01-28 10:54:59 -06:00
|
|
|
|
|
|
|
mod foo {
|
2015-03-25 19:06:52 -05:00
|
|
|
pub fn x(y: isize) { println!("{}", y); }
|
2011-01-28 10:54:59 -06:00
|
|
|
}
|
|
|
|
|
2013-02-01 21:43:17 -06:00
|
|
|
pub fn main() { x(10); z(10); }
|