summaryrefslogtreecommitdiff
path: root/tests/test_funcall_4.tnsl
blob: 4309766faf35084317bac096e5a647b1d50fced9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct Dummy {
	int i, j
}

/; inout (Dummy in) [Dummy]
	in.i = 68
	return in
;/

/; main [int]
	Dummy a
	a.i = 1
	a.j = 1
	a = inout(a)
	return a.i + a.j
;/