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