Merge pull request #4202 from marek-safar/compression
[mono-project.git] / mcs / tests / test-533.cs
blob6c85f26db7962a6f2465392499c14f14bc2f8c20
1 using System;
2 class Test {
3 const bool bt = (false == false) & (false != true) & (true != false) & (true == true);
4 const bool bf = (false != false) | (false == true) | (true == false) | (true != true);
6 static void True (bool b) { False (!b); }
7 static void False (bool b) { if (b) throw new System.Exception (); }
8 public static void Main ()
10 True (false == false);
11 False (false == true);
12 False (true == false);
13 True (true == true);
15 False (false != false);
16 True (false != true);
17 True (true != false);
18 False (true != true);
20 True (bt);
21 False (bf);