2011-01-17 17:13:55 -06: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
|
|
|
|
2011-12-22 16:42:52 -06:00
|
|
|
fn main(args: [str]) { #debug("loop"); }
|