aboutsummaryrefslogtreecommitdiff
path: root/tests/icon/reject/null_inputs.zc
blob: 41a7c4e2c1ddef97365466dd9cb8d08f921d8570 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
include rt;
include run;
include icon;
fn main() {
	rt.put_n(icon.calculate(0, 0, 1)); rt.put_c(' '); rt.put_n(icon.error()); rt.put_c(10);
	let a = icon.undeclare(0, "n"); rt.put_n(a == 0); rt.put_c(' '); rt.put_n(icon.error()); rt.put_c(10);
	let b = icon.change_type(0, "n", 0); rt.put_n(b == 0); rt.put_c(' '); rt.put_n(icon.error()); rt.put_c(10);
	let c = icon.insert_block(0, 0, 0); rt.put_n(c == 0); rt.put_c(' '); rt.put_n(icon.error()); rt.put_c(10);
	return 0;
}