summaryrefslogtreecommitdiff
path: root/test/call.myr
blob: a40cd624dcc45226d32f7c405c07c8fc465f36c8 (plain)
1
2
3
4
5
6
7
8
9
use std
/* checks that simple function calls work. should exit with 42. */
const f = {
	-> 21
}

const main = {
	std.exit(f() + f())
}