2012-07-06 22:45:06 -05:00
|
|
|
// error-pattern: cyclic import
|
2011-01-14 16:20:14 -06:00
|
|
|
|
2011-12-02 09:06:55 -06:00
|
|
|
mod a { import foo = b::foo; export foo; }
|
|
|
|
mod b { import foo = a::foo; export foo; }
|
2011-01-14 16:20:14 -06:00
|
|
|
|
2012-06-29 18:26:56 -05:00
|
|
|
fn main(args: ~[str]) { #debug("loop"); }
|