PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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
1// error-pattern: import
2
3mod a { import foo = b::foo; export foo; }
4mod b { import foo = a::foo; export foo; }
5
6fn main(args: ~[str]) { debug!{"loop"}; }