aboutsummaryrefslogtreecommitdiff
path: root/tests/icon/reject/non_declaration.zc
blob: b4233f9286e3c732623721264b105ed5f4def7d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
include rt;
include run;
include icon;
fn main() {
	let q = run.tokens("rt.put_n(n); return 0;");
	let changed = icon.undeclare(q, "n");
	rt.put_n(changed == 0); rt.put_c(' '); rt.put_n(icon.error()); rt.put_c(10);
	return 0;
}