diff options
Diffstat (limited to 'progs/tests/auto/precedence.sy')
| -rw-r--r-- | progs/tests/auto/precedence.sy | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/progs/tests/auto/precedence.sy b/progs/tests/auto/precedence.sy index 0aee658..ae08e05 100644 --- a/progs/tests/auto/precedence.sy +++ b/progs/tests/auto/precedence.sy @@ -1,8 +1,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 + 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 } |
