summaryrefslogtreecommitdiff
path: root/test/slalloc.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/slalloc.myr')
-rw-r--r--test/slalloc.myr8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/slalloc.myr b/test/slalloc.myr
new file mode 100644
index 0000000..1a6b13a
--- /dev/null
+++ b/test/slalloc.myr
@@ -0,0 +1,8 @@
+use std
+
+const main = {
+ var sl : int[:]
+
+ sl = std.slalloc(123)
+ -> sl.len
+}