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


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