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

const main = {
	var x : void

	x = f()
}

const f = {
	std.put("ok\n")
}