/src/test/compile-fail/import4.rs
http://github.com/jruderman/rust · Rust · 6 lines · 3 code · 2 blank · 1 comment · 0 complexity · 0129a185be91b78a8a67dc58f187cb27 MD5 · raw file
- // error-pattern: import
- mod a { import foo = b::foo; export foo; }
- mod b { import foo = a::foo; export foo; }
- fn main(args: ~[str]) { debug!{"loop"}; }