/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
- fn main() {
- let a: int = 10;
- log(debug, a);
- assert (a * (a - 1) == 90);
- }