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