shithub: mc

ref: 2f8d3d7f2e4e3592b0a2fce30a4ec218aafe9bce
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()
	std.exit(12)
}