shithub: mc

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