summaryrefslogtreecommitdiff
path: root/test/slalloc.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-12-03 20:29:59 -0500
committerOri Bernstein <ori@eigenstate.org>2012-12-03 20:29:59 -0500
commitc0192155d8e843ab3355a564ed97537d0ede00a6 (patch)
tree51adbe4c4033d36fd5b72b308aeb051e22935817 /test/slalloc.myr
parentbf99f35f97bc7593237df154f7ae19c16f3e215c (diff)
downloadmc-c0192155d8e843ab3355a564ed97537d0ede00a6.tar.gz
Add new test, disable broken one.
- catfile loops infinitely. I need to fix this. - slalloc is a useful test.
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
+}