rust/src/test/compile-fail/import-glob-circular.rs
Brian Anderson 518dc52f85 Reformat
This changes the indexing syntax from .() to [], the vector syntax from ~[] to
[] and the extension syntax from #fmt() to #fmt[]
2011-08-20 11:04:00 -07:00

26 lines
391 B
Rust

// error-pattern: unresolved name
mod circ1 {
import circ1::*;
export f1;
export f2;
export common;
fn f1() { log "f1"; }
fn common() -> uint { ret 0u; }
}
mod circ2 {
import circ2::*;
export f1;
export f2;
export common;
fn f2() { log "f2"; }
fn common() -> uint { ret 1u; }
}
mod test {
import circ1::*;
fn test() { f1066(); }
}