shithub: mc

ref: cef9f9cc57105139c4157fdfb14036c724271271
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
}