ref: 10639872d6c832f4215fca9f5d33a90b59d8021f
dir: /test/loop.myr/
use std
/* checks that loops work. exits with 45. */
const main = {
var i
var n
n = 0
for i = 0; i < 5; ++i
std.put("{}", i)
;;
for i = 0; i < 5; ++i
if i > 3
break
;;
std.put("{}", i)
;;
for i = 0; i < 10; ++i
if i < 6
continue
;;
std.put("{}", i)
;;
std.put("\n")
}