summaryrefslogtreecommitdiff
path: root/tests/test_pointer_4.tnsl
blob: f128285da5ce98429b1e3993d458f9d6fdc0b004 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/; set (int` i)
	i = 69
;/

/; set_b (int` j)
	set(j)
;/

/; main [int]
	int k = 0
	set_b(~k)
	return k
;/