Author: marek
Date: 2008-01-03 12:34:02 -0500 (Thu, 03 Jan 2008)
New Revision: 92195

Added:
   trunk/mcs/errors/cs0019-25.cs
Log:
New test.



Added: trunk/mcs/errors/cs0019-25.cs
===================================================================
--- trunk/mcs/errors/cs0019-25.cs       2008-01-03 17:33:18 UTC (rev 92194)
+++ trunk/mcs/errors/cs0019-25.cs       2008-01-03 17:34:02 UTC (rev 92195)
@@ -0,0 +1,17 @@
+// CS0019: Operator `==' cannot be applied to operands of type `Foo' and `null'
+// Line: 14
+
+struct Foo
+{
+}
+
+public class Test
+{
+       static Foo ctx;
+
+       public static void Main ()
+       {
+               if (ctx == null)
+                       return;
+       }
+}

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to