shithub: mc

ref: 10c5a7f3c6bd6d8c52a42f3d7ffb64eed6edf677
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)
}