summaryrefslogtreecommitdiff
path: root/test/arraylit.myr
blob: 01cb9d42deaaf391db07c62f0c5f20f83be4e625 (plain)
1
2
3
4
5
6
7
/* checks we can make indexed array literals. exits with 3. */
const main = {
	var a = [#0=1,
		 #2=3,
		 #1=2]
	-> a[2]
}