summaryrefslogtreecommitdiff
path: root/test/arraylit-ni.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-06-30 22:54:21 -0400
committerOri Bernstein <ori@eigenstate.org>2012-06-30 22:54:21 -0400
commit95f8b3d8a134c32f3c62eeab364c67f29e7542e3 (patch)
treeb44a9d4a214f22db93e9e5e7ba221df103fdf12a /test/arraylit-ni.myr
parentb8b34577b7f5e7c4fa13f927103c80dc417c64d9 (diff)
downloadmc-95f8b3d8a134c32f3c62eeab364c67f29e7542e3.tar.gz
More work towards getting sequence literals to work.
Diffstat (limited to 'test/arraylit-ni.myr')
-rw-r--r--test/arraylit-ni.myr4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/arraylit-ni.myr b/test/arraylit-ni.myr
new file mode 100644
index 0000000..e6498db
--- /dev/null
+++ b/test/arraylit-ni.myr
@@ -0,0 +1,4 @@
+const main = {
+ var a = [1, 3, 2]
+ -> a[2]
+}