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

/src/test/run-pass/i32-sub.rs

http://github.com/jruderman/rust
Rust | 5 lines | 1 code | 3 blank | 1 comment | 1 complexity | 3df467d41e87849dd5e8e5a41bf1a135 MD5 | raw file
1
2
3
4// -*- rust -*-
5fn main() { let mut x: i32 = -400_i32; x = 0_i32 - x; assert (x == 400_i32); }