2011-06-15 11:19:50 -07:00
|
|
|
|
2011-05-12 17:24:54 +02:00
|
|
|
import foo::x;
|
|
|
|
import z = foo::x;
|
2011-01-28 11:54:59 -05:00
|
|
|
|
|
|
|
mod foo {
|
2011-06-15 11:19:50 -07:00
|
|
|
fn x(int y) { log y; }
|
2011-01-28 11:54:59 -05:00
|
|
|
}
|
|
|
|
|
2011-06-15 11:19:50 -07:00
|
|
|
fn main() { x(10); z(10); }
|