about summary refs log tree commit diff
path: root/tests/ui/binop/binary-minus-without-space.rs
blob: c80c0c88fcbc43910c851134735ad81ab05b53c4 (plain)
1
2
3
4
5
6
7
8
//@ run-pass
// Check that issue #954 stays fixed


pub fn main() {
    match -1 { -1 => {}, _ => panic!("wat") }
    assert_eq!(1-1, 0);
}