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