shithub: mc

ref: 40d35cd1593d7da63ddfef94dad1ca3fcd68ff12
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
	;;
	-> n
}