rust/src/test/run-pass/binary-minus-without-space.rs
2012-08-23 15:12:02 -07:00

7 lines
117 B
Rust

// Check that issue #954 stays fixed
fn main() {
match -1 { -1 => {}, _ => fail ~"wat" }
assert 1-1 == 0;
}