aboutsummaryrefslogtreecommitdiff
path: root/tests/icon/reject/unsupported_step.zc
blob: 944c5b62ebac0e71ce2889d3c721a98fe88afcca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
include rt;
include run;
include icon;
fn main() {
	let q = run.tokens("for (int i = 0; i < 2; i++) {}");
	let frame = icon.begin(q);
	icon.step(frame); rt.put_n(icon.state(frame)); rt.put_c(' '); rt.put_n(icon.error()); rt.put_c(10);
	icon.close(d*frame);
	return 0;
}