shithub: mc

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

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

	n = 0
	for i = 0; i < 10; ++i
		n += i
	;;
	-> n
}