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

3 lines
67 B
Rust
Raw Normal View History

2011-07-27 07:19:39 -05:00
fn main() { let a: int = 10; log a; assert (a * (a - 1) == 90); }