summaryrefslogtreecommitdiff
path: root/tests/test_struct_2.tnsl
blob: 2577959a6a5395040880b418a576de42d508eff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
struct Rec {
	~Rec r,
	int i
}

/; main [int]

	Rec a, b
	a.i = 1
	a.r = ~b
	a.r`.i = 69
	return b.i
;/