summaryrefslogtreecommitdiff
path: root/test/constslice.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-01-07 13:27:05 -0500
committerOri Bernstein <ori@eigenstate.org>2014-01-07 13:27:05 -0500
commit945c62edc1fc6dd17e1883dab8b7bc11d16276ba (patch)
tree23c8e4ba8c9e905f4545eaab538a1c4ff0c5060b /test/constslice.myr
parentc4b85bb8c16c1a80775985774aabda635b43d694 (diff)
downloadmc-945c62edc1fc6dd17e1883dab8b7bc11d16276ba.tar.gz
Start work on global const slices.
Diffstat (limited to 'test/constslice.myr')
-rw-r--r--test/constslice.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/constslice.myr b/test/constslice.myr
index c14fd09..4b43a37 100644
--- a/test/constslice.myr
+++ b/test/constslice.myr
@@ -6,7 +6,7 @@ const array = [1,2,3,4,5]
const main = {
/* expected output 23 */
for x in sl
- std.put("%i\n", x)
+ std.put("%i", x)
;;
std.put("\n")
}