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

/; strout [Str]
	Str out
	out.i = 60
	out.j = 9
	return out
;/

/; main [int]
	Str out
	out = strout()
	return out.j + out.i
;/