summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/bounds.myr4
-rw-r--r--test/tests1
2 files changed, 5 insertions, 0 deletions
diff --git a/test/bounds.myr b/test/bounds.myr
new file mode 100644
index 0000000..039b051
--- /dev/null
+++ b/test/bounds.myr
@@ -0,0 +1,4 @@
+const main = {
+ var a : byte[:] = [1, 2, 3][:]
+ var b = a[:4]
+}
diff --git a/test/tests b/test/tests
index 28775e6..4f47773 100644
--- a/test/tests
+++ b/test/tests
@@ -150,3 +150,4 @@ F arityhigh
F badop
B voideffect P pass
B foroptexpr P pass
+B bounds E 134