summaryrefslogtreecommitdiff
path: root/test/str.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/str.myr')
-rw-r--r--test/str.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/str.myr b/test/str.myr
index bcb8eff..87502c5 100644
--- a/test/str.myr
+++ b/test/str.myr
@@ -5,5 +5,5 @@ const main = {
var str
str = "asdf"
- std.exit(str[3] castto(int))
+ std.exit((str[3] : int))
}