program test3_loop()

import printf from "stdio.h"

var i: int

begin
	i := 0
	loop
		inc(i)
		printf("i = %d\n", i)
		if i > 10 then
			printf("breaking\n")
			break
			printf("not reachable, error.\n")
		else
			printf("continue\n")
			continue
			printf("not reachable, ERROR\n")
		end
		printf("not reachable ???\n")
	end
end
