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

/src/test/compile-fail/import.rs

http://github.com/jruderman/rust
Rust | 8 lines | 6 code | 0 blank | 2 comment | 0 complexity | ad4cd67e73366e5120b655e4c9da8c73 MD5 | raw file
1// xfail-test
2// error-pattern: unresolved
3import zed::bar;
4import zed::baz;
5mod zed {
6    fn bar() { debug!{"bar"}; }
7}
8fn main(args: ~[str]) { bar(); }