shithub: mc

ref: f6fadc8f08a0732f22ec6df34822f45e0f3a7f60
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
}