summaryrefslogtreecommitdiff
path: root/test/basicfloat.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/basicfloat.myr')
-rw-r--r--test/basicfloat.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/basicfloat.myr b/test/basicfloat.myr
index 5243a67..aeb481d 100644
--- a/test/basicfloat.myr
+++ b/test/basicfloat.myr
@@ -6,5 +6,5 @@ const get42 = {
/* basic sanity check on floating point operations. should return 84. */
const main = {
- std.exit((42.0 + get42()) castto(int))
+ std.exit((42.0 + get42() : int))
}