2011-04-24 18:40:01 -05:00
|
|
|
// error-pattern: unresolved name
|
2010-06-23 23:03:09 -05:00
|
|
|
mod foo {
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports];
|
2011-07-27 07:19:39 -05:00
|
|
|
export x;
|
2011-12-22 19:53:53 -06:00
|
|
|
fn x(y: int) { log(debug, y); }
|
|
|
|
fn z(y: int) { log(debug, y); }
|
2010-06-23 23:03:09 -05:00
|
|
|
}
|
|
|
|
|
2011-08-19 17:16:48 -05:00
|
|
|
fn main() { foo::z(10); }
|