aboutsummaryrefslogtreecommitdiff
path: root/tests/icon/reject/bind_pointer.zc
blob: 4834dde6a5a9dd4a745318aca3b49220f42685df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
include rt;
include run;
include icon;
char* message = "preserved";
fn main() {
	let q = run.tokens("return 0;"), frame = icon.begin(q);
	rt.put_n(icon.bind_global(frame, "message")); rt.put_c(' '); rt.put_n(icon.error()); rt.put_c(' '); rt.put_s(message); rt.put_c(10);
	icon.close(d*frame);
	return 0;
}