2011-05-25 10:10:30 -07:00
|
|
|
|
|
|
|
// error-pattern: unresolved name
|
|
|
|
mod circ1 {
|
2011-07-27 14:19:39 +02:00
|
|
|
import circ1::*;
|
|
|
|
export f1;
|
|
|
|
export f2;
|
|
|
|
export common;
|
|
|
|
fn f1() { log "f1"; }
|
|
|
|
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;
|
|
|
|
fn f2() { log "f2"; }
|
|
|
|
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
|
|
|
}
|