summaryrefslogtreecommitdiff
path: root/test/swidencast.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/swidencast.myr')
-rw-r--r--test/swidencast.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/swidencast.myr b/test/swidencast.myr
index 4148540..9562edc 100644
--- a/test/swidencast.myr
+++ b/test/swidencast.myr
@@ -5,6 +5,6 @@ const main = {
var v : int32
u = 99
- v = u castto(int32)
- std.exit(v castto(int))
+ v = (u : int32)
+ std.exit((v : int))
}