summaryrefslogtreecommitdiff
path: root/test.toc
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-09-25 14:46:25 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-09-25 14:46:25 -0400
commitb7fe781138c1a775cc44ec1448e94305b3b8a0dd (patch)
tree395f4d7a34d48ef0c8a8aa2de4a9ccfe53678d60 /test.toc
parent53a2729e91e2df2672e01c15ba8cb24544843827 (diff)
added unary not
Diffstat (limited to 'test.toc')
-rw-r--r--test.toc7
1 files changed, 4 insertions, 3 deletions
diff --git a/test.toc b/test.toc
index aa89df9..1f68afa 100644
--- a/test.toc
+++ b/test.toc
@@ -1,8 +1,9 @@
main @= fn() {
foo @= fn(x: int) { return; };
- //b := !(5 > 3 && 4 <= 3 && 3 >= 2 || 0);
- //b := !(5 < 3);
- x : bool = true;
+ // b := !(5 > 3 && 4 <= 3 && 3 >= 2 || 0);
+ // b := !(5 < 3);
+ x @= !!!!!!!false;
+ // foo := 5 < 3;
};