aboutsummaryrefslogtreecommitdiff
path: root/tests/icon/regression/shadow.zc
blob: ca4220d01edd1330e52d8091fc8943f500278976 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
include rt;
include run;
include icon;
fn main() {
	let q = run.tokens("int n = 3; { int n = 8; n++; } return n;");
	let frame = icon.begin(q);
	icon.resume(frame, 10); rt.put_n(icon.result(frame)); rt.put_c(' '); rt.put_n(icon.local_count(frame)); rt.put_c(10);
	icon.close(d*frame);
	return 0;
}