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

/; method Vector

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

/; main [int]

	Vector a
	a.init()

	return a.size

;/