summaryrefslogtreecommitdiff
path: root/test/aritylow.myr
blob: 9840b9f5ee3286e746c2534ec4c2a302a78940d0 (plain)
1
2
3
4
5
6
7
8
9
use std
/* should fail because we call f with too few args */
const f = {a:int, b:int, c:int
	-> a + b + c
}

const main = {
	std.exit(f(1, 2))
}