]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binop/binary-minus-without-space.rs
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[rust.git] / src / test / ui / binop / binary-minus-without-space.rs
1 // run-pass
2 // Check that issue #954 stays fixed
3
4
5 pub fn main() {
6     match -1 { -1 => {}, _ => panic!("wat") }
7     assert_eq!(1-1, 0);
8 }