PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/src/test/run-pass/arith-0.rs

http://github.com/jruderman/rust
Rust | 7 lines | 5 code | 2 blank | 0 comment | 1 complexity | 0aa07530db1595f2523f44837c68dc8c MD5 | raw file
1
2
3fn main() {
4    let a: int = 10;
5    log(debug, a);
6    assert (a * (a - 1) == 90);
7}