PageRenderTime 9ms CodeModel.GetById 1ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/jruderman/rust
Rust | 7 lines | 5 code | 2 blank | 0 comment | 0 complexity | be31701da63879a7aa097a0f46d063c6 MD5 | raw file
1
2
3fn main() {
4    let i32_c: int = 0x10101010;
5    assert (i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3) ==
6                i32_c + i32_c * 2 / 3 * 2 + (i32_c - 7 % 3));
7}