shithub: mc

ref: 6e418753ce132f10cb25e2cd4679159c50fba931
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)
}