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

/src/test/run-pass/export-non-interference3.rs

http://github.com/jruderman/rust
Rust | 13 lines | 9 code | 4 blank | 0 comment | 0 complexity | bf6aa283832b22e3a17a4e3e70d105e0 MD5 | raw file
 1mod foo {
 2    export x;
 3
 4    fn x() { bar::x(); }
 5}
 6
 7mod bar {
 8    export x;
 9
10    fn x() { debug!{"x"}; }
11}
12
13fn main() { foo::x(); }