aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/expression/negation.sy
blob: 0c702aa7ab1a56734df492acb0c3eae0255ea9ac (plain) (blame)
1
2
3
4
5
6
7
start :: fn {
    -1 <=> 0 - 1
    -1 + 2 <=> 1
    -(1 + 2) <=> -3
    1 + -1 <=> 0
    2 * -1 <=> -2
}