Blame view

ref-impl/x/class.s 174 Bytes
f2c4dc81   Salvador Abreu   added most of the...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
foo = map () -> () [
	r : { i, j: int };
	a : [10] { i, j: int };

	r.i := 10;
	r.j := 20;
	a[1].i := 30;
	a[2].j := 40;

	x := r.i;
	x := r.j;
	x := a[1].i;
	x := a[2].j;
]