summary refs log tree commit diff
path: root/src/test/run-pass/binary-minus-without-space.rs
blob: 79627d5501d1c01ef3c4e4604a17a8dc2f2a1b2c (plain)
1
2
3
4
5
6
// Check that issue #954 stays fixed

fn main() {
    alt check -1 { -1 {} }
    assert 1-1 == 0;
}