summaryrefslogtreecommitdiff
path: root/test/gsizeof.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-07-21 02:40:43 -0400
committerOri Bernstein <ori@eigenstate.org>2012-07-21 02:40:43 -0400
commit5248ba5079d913bb416ebbb1eea4b8750acd819a (patch)
treea056cfa8df3e6203973fbb3659db7aeec0e87527 /test/gsizeof.myr
parent6d2283c60d81931945e78f068aa330d0146f10a5 (diff)
downloadmc-5248ba5079d913bb416ebbb1eea4b8750acd819a.tar.gz
Move strings to be byte[,], and char to be 32 bit.
This brings us towards the brave new world of utf8 strings with codepoint manipulations.
Diffstat (limited to 'test/gsizeof.myr')
-rw-r--r--test/gsizeof.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gsizeof.myr b/test/gsizeof.myr
index 55bcca9..8108541 100644
--- a/test/gsizeof.myr
+++ b/test/gsizeof.myr
@@ -3,5 +3,5 @@ generic sz = {a:@a
}
const main = {
- -> sz(123) + sz('a')
+ -> sz(123) + sz("asdf"[0])
}