shithub: mc

ref: 10a3edcf0264c6e2b878a230f4a77f8954b67d0d
dir: /test/voidcall.myr/

View raw version
/* checks that calling void functions works. should compile, and not die
when running. the exit value is 12, but it's really a dummy. */
const f = {
	var a

	a = a + 1
}

const main = {
	f()
	-> 12
}