shithub: mc

ref: 682c4ce6114cb44e2ad95a75269585f6e1da8150
dir: /test/voidcall.myr/

View raw version
use std
/* 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
}