summaryrefslogtreecommitdiff
path: root/test/arraylit.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-06-30 19:01:20 -0400
committerOri Bernstein <ori@eigenstate.org>2012-06-30 19:01:20 -0400
commita31dc19339a6f62ed08b8dba8cffe889350c858c (patch)
tree546c2ba5922d9a8309faa6d2f3b17dee88f93650 /test/arraylit.myr
parentdd77ee3c80c3705bdd6f82af17ee9782cc4460c3 (diff)
downloadmc-a31dc19339a6f62ed08b8dba8cffe889350c858c.tar.gz
Add tests for literal sequences.
Diffstat (limited to 'test/arraylit.myr')
-rw-r--r--test/arraylit.myr6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/arraylit.myr b/test/arraylit.myr
new file mode 100644
index 0000000..24a4792
--- /dev/null
+++ b/test/arraylit.myr
@@ -0,0 +1,6 @@
+const main = {
+ var a = [#0=1,
+ #2=3,
+ #1=2]
+ -> a[2]
+}