shithub: mc

ref: da9b73d68e4850f24e2eb8f727e810ed938b0355
dir: /test/loop.myr/

View raw version
use std
/* checks that loops work. exits with 45. */
const main = {
	var i
	var n

	n = 0
	for i = 0; i < 10; ++i
		n += i
	;;
	std.exit(n)
}