summaryrefslogtreecommitdiff
path: root/test/log-or.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/log-or.myr')
-rw-r--r--test/log-or.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/log-or.myr b/test/log-or.myr
index 7adef8b..c0f4106 100644
--- a/test/log-or.myr
+++ b/test/log-or.myr
@@ -1,5 +1,5 @@
use std
/* checks that evaluating a logical or works. exits with 1. */
const main = {
- std.exit((0 || 1) castto(int))
+ std.exit((0 || 1 : int))
}