blob: c1e4904a7d8f164095ac5dd328e104b9f5ee771b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
struct Mock {
int i, j
}
/; method Mock
/; mul () [int]
int j = self.i * self.j
return self.i
;/
;/
/; main [int]
Mock a
a.i = 69
a.j = 0
a.mul()
return a.i
;/
|