summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binop/binary-minus-without-space.rs
blob: 2fbd5300dd1a9afacfd9b71bbae0983da0ffb092 (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);
}