summaryrefslogtreecommitdiff
path: root/test/arityhigh.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/arityhigh.myr')
-rw-r--r--test/arityhigh.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/arityhigh.myr b/test/arityhigh.myr
index 3cc4da1..35bbcb2 100644
--- a/test/arityhigh.myr
+++ b/test/arityhigh.myr
@@ -1,9 +1,9 @@
use std
/* should fail because we call f with too many args */
const f = {a:int
-
+ -> a
}
const main = {
- -> f(1, 2, 3)
+ std.exit(f(1, 2, 3))
}