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
|
|
|
|
2012-06-25 22:00:46 -05:00
|
|
|
fn main(args: [str]/~) { #debug("loop"); }
|