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

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

http://github.com/jruderman/rust
Rust | 9 lines | 6 code | 3 blank | 0 comment | 0 complexity | 98cd6dc70b4bb23895990ee8781ff56b MD5 | raw file
1
2import foo::x;
3import z = foo::x;
4
5mod foo {
6    fn x(y: int) { log(debug, y); }
7}
8
9fn main() { x(10); z(10); }