aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/precedence.sy
blob: ae08e05bb0a3d6a17825528a76e630b47a38c2b0 (plain) (blame)
1
2
3
4
5
6
7
8
start :: fn {
    f := fn a: int, b: int -> int {
        ret a + b
    }
    1 + f(2, 3) <=> 6
    2 * f(2, 3) <=> 10
    f(2, 3) - (2 + 3) <=> 0
}