summaryrefslogtreecommitdiff
path: root/test/OpNot.ci
blob: af8a39d36c5864cc2c7dc0ec285d8b63ad76f0b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
public static class Test
{
	public static bool Run()
	{
		int i = 5;
		bool a = false;
		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);
	}
}