summaryrefslogtreecommitdiff
path: root/test/log-and.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/log-and.myr')
-rw-r--r--test/log-and.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/log-and.myr b/test/log-and.myr
index 694c380..e29d993 100644
--- a/test/log-and.myr
+++ b/test/log-and.myr
@@ -1,5 +1,5 @@
use std
/* checks that evaluating a logical and to a bool works. should return 0. */
const main = {
- std.exit((0 && 1) castto(int))
+ std.exit((0 && 1 : int))
}