summaryrefslogtreecommitdiff
path: root/test/arraylit-ni.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/arraylit-ni.myr')
-rw-r--r--test/arraylit-ni.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/arraylit-ni.myr b/test/arraylit-ni.myr
index e6498db..2cbc260 100644
--- a/test/arraylit-ni.myr
+++ b/test/arraylit-ni.myr
@@ -1,3 +1,4 @@
+/* checks that we can create arrays without indexed initializers. exits with 2. */
const main = {
var a = [1, 3, 2]
-> a[2]