Author: marek
Date: 2008-01-24 10:30:42 -0500 (Thu, 24 Jan 2008)
New Revision: 93803
Added:
trunk/mcs/tests/gtest-365.cs
Log:
New test.
Added: trunk/mcs/tests/gtest-365.cs
===================================================================
--- trunk/mcs/tests/gtest-365.cs 2008-01-24 15:30:29 UTC (rev 93802)
+++ trunk/mcs/tests/gtest-365.cs 2008-01-24 15:30:42 UTC (rev 93803)
@@ -0,0 +1,22 @@
+using System;
+
+namespace B
+{
+ class Program
+ {
+ static int Main()
+ {
+ int? i = 0;
+ bool b = i == (int?)null;
+ if (b)
+ return 1;
+
+ if (i == (int?)null)
+ return 2;
+
+ Console.WriteLine (b);
+ return 0;
+ }
+ }
+}
+
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches