summaryrefslogtreecommitdiff
path: root/test/voidarg.myr
blob: 1c4e7c55b3888b4d87aae6696614240ef6475be2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use std

const main = {
	var x : void
	

	std.put("{}\n", f(x, 1, void, 2))
}

const f = {v1, n1, v2, n2
	-> n1 + n2
}