X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Fgtest-142.cs;h=ce98c1637a68482aa2771fb4fc6a6bd8707662b6;hb=edbc5c2334e10836479d1cc528c68d4ad5b47440;hp=1347905dcfa472edebd7c1c1dbc40f5f5ae12dfa;hpb=b5cfba1835f2ba823796f825410e0062b7e4c9a3;p=mono.git diff --git a/mcs/tests/gtest-142.cs b/mcs/tests/gtest-142.cs index 1347905dcfa..ce98c1637a6 100644 --- a/mcs/tests/gtest-142.cs +++ b/mcs/tests/gtest-142.cs @@ -55,7 +55,7 @@ public static class Assert class X { - static int Main () + public static int Main () { bool? a = null, b = false, c = true; bool? d = null, e = false, f = true; @@ -91,6 +91,16 @@ class X Assert.IsTrue ("f | b", f | b); Assert.IsTrue ("f | c", f | c); + Assert.IsNull ("d ^ a", d ^ a); + Assert.IsNull ("d ^ b", d ^ b); + Assert.IsNull ("d ^ c", d ^ c); + Assert.IsNull ("e ^ a", e ^ a); + Assert.IsFalse ("e ^ b", e ^ b); + Assert.IsTrue ("e ^ c", e ^ c); + Assert.IsNull ("f ^ a", f ^ a); + Assert.IsTrue ("f ^ b", f ^ b); + Assert.IsFalse ("f ^ c", f ^ c); + int? g = 3, h = null, i = 3, j = null; Assert.IsFalse ("g == null", g == null);