2012-07-06 21:06:58 -05:00
|
|
|
// error-pattern:import
|
2010-07-09 13:59:00 -05:00
|
|
|
|
|
|
|
mod a {
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports];
|
2011-07-27 07:19:39 -05:00
|
|
|
import b::x;
|
|
|
|
export x;
|
2010-07-09 13:59:00 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
mod b {
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports];
|
2011-07-27 07:19:39 -05:00
|
|
|
import a::x;
|
|
|
|
export x;
|
2010-07-09 13:59:00 -05:00
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
fn main() { let y = x; }
|
2011-08-19 17:16:48 -05:00
|
|
|
}
|