PageRenderTime 14ms CodeModel.GetById 12ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/run-pass/import5.rs

http://github.com/jruderman/rust
Rust | 10 lines | 9 code | 1 blank | 0 comment | 0 complexity | 02caf34b82ab3a2a2c01c7a325e7b172 MD5 | raw file
 1import foo::bar;
 2mod foo {
 3    import zed::bar;
 4    export bar;
 5    mod zed {
 6        fn bar() { debug!{"foo"}; }
 7    }
 8}
 9
10fn main(args: ~[~str]) { bar(); }