summaryrefslogtreecommitdiff
path: root/test/bounds.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/bounds.myr')
-rw-r--r--test/bounds.myr4
1 files changed, 4 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]
+}