Author: marek
Date: 2008-01-22 16:48:17 -0500 (Tue, 22 Jan 2008)
New Revision: 93584

Added:
   trunk/mcs/errors/gcs0266-2.cs
Log:
New test.



Added: trunk/mcs/errors/gcs0266-2.cs
===================================================================
--- trunk/mcs/errors/gcs0266-2.cs       2008-01-22 21:48:05 UTC (rev 93583)
+++ trunk/mcs/errors/gcs0266-2.cs       2008-01-22 21:48:17 UTC (rev 93584)
@@ -0,0 +1,11 @@
+// CS0266: Cannot implicitly convert type `bool?' to `bool'. An explicit 
conversion exists (are you missing a cast?)
+// Line: 9
+
+class X
+{
+       static void Main ()
+       {
+               bool? a = true;
+               int? b = a ? 3 : 4;
+       }
+}


Property changes on: trunk/mcs/errors/gcs0266-2.cs
___________________________________________________________________
Name: svn:eol-style
   + native

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

Reply via email to