summaryrefslogtreecommitdiff
path: root/tests/test_pointer_3.tnsl
blob: f1304f4dc70ef14b4eb42b5db1d023edcd505c2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

/; set (int` i)
	i = i + 9
;/

/; set_b (~int j)
	j` = j` + 60
;/

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