2011-04-24 18:40:01 -05:00
|
|
|
// error-pattern: unresolved name
|
2010-06-23 23:03:09 -05:00
|
|
|
mod foo {
|
2011-07-27 07:19:39 -05:00
|
|
|
export x;
|
2011-12-22 16:42:52 -06:00
|
|
|
fn x(y: int) { log_full(core::debug, y); }
|
|
|
|
fn z(y: int) { log_full(core::debug, y); }
|
2010-06-23 23:03:09 -05:00
|
|
|
}
|
|
|
|
|
2011-08-19 17:16:48 -05:00
|
|
|
fn main() { foo::z(10); }
|