rust/src/test/run-pass/arith-0.rs
Patrick Walton 147a2d655f Un-revert "Use different syntax for checks that matter to typestate", fixing the problem.
This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02 17:50:46 -07:00

5 lines
82 B
Rust

fn main() -> () {
let int a = 10;
log a;
assert (a * (a - 1) == 90);
}