2012-07-06 19:06:58 -07:00
|
|
|
// error-pattern: unresolved
|
2011-05-25 10:10:30 -07:00
|
|
|
|
|
|
|
mod circ1 {
|
2011-07-27 14:19:39 +02:00
|
|
|
import circ1::*;
|
|
|
|
export f1;
|
|
|
|
export f2;
|
|
|
|
export common;
|
2012-07-30 16:01:07 -07:00
|
|
|
fn f1() { debug!{"f1"}; }
|
2011-07-27 14:19:39 +02:00
|
|
|
fn common() -> uint { ret 0u; }
|
2011-05-25 10:10:30 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
mod circ2 {
|
2011-07-27 14:19:39 +02:00
|
|
|
import circ2::*;
|
|
|
|
export f1;
|
|
|
|
export f2;
|
|
|
|
export common;
|
2012-07-30 16:01:07 -07:00
|
|
|
fn f2() { debug!{"f2"}; }
|
2011-07-27 14:19:39 +02:00
|
|
|
fn common() -> uint { ret 1u; }
|
2011-05-25 10:10:30 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
mod test {
|
2011-07-27 14:19:39 +02:00
|
|
|
import circ1::*;
|
2011-05-25 10:10:30 -07:00
|
|
|
|
2011-07-27 14:19:39 +02:00
|
|
|
fn test() { f1066(); }
|
2011-08-19 15:16:48 -07:00
|
|
|
}
|