summaryrefslogtreecommitdiff
path: root/tests/test_method.tnsl
blob: 8301e01226e31758d22d16802f4ecd0ed1caa6d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
struct Vector {
	~void data,
	int
		size,
		count,
		_el_sz
}

/; method Vector

	/; init
		self.size = 69
	;/
;/

/; main [int]

	Vector a
	
	a.init()

	return a.size

;/