summaryrefslogtreecommitdiff
path: root/test/OpNot.ci
diff options
context:
space:
mode:
Diffstat (limited to 'test/OpNot.ci')
-rw-r--r--test/OpNot.ci12
1 files changed, 11 insertions, 1 deletions
diff --git a/test/OpNot.ci b/test/OpNot.ci
index 40a4294..af8a39d 100644
--- a/test/OpNot.ci
+++ b/test/OpNot.ci
@@ -2,7 +2,17 @@ public static class Test
{
public static bool Run()
{
+ int i = 5;
bool a = false;
- return !a;
+ bool t = true;
+ return !a
+ && !(a && a)
+ && !(a && !a) //FAIL: python TODO
+ && !(a & a) //FAIL: swift ts TODO
+ && !(a & !a)
+ && !(!t & a)
+ && (!a | !a)
+ && !(i == 0)
+ && !(i != 5);
}
}