Author: marek
Date: 2008-01-03 09:42:56 -0500 (Thu, 03 Jan 2008)
New Revision: 92180
Added:
trunk/mcs/errors/gcs0019-8.cs
Log:
New test.
Added: trunk/mcs/errors/gcs0019-8.cs
===================================================================
--- trunk/mcs/errors/gcs0019-8.cs 2008-01-03 14:42:17 UTC (rev 92179)
+++ trunk/mcs/errors/gcs0019-8.cs 2008-01-03 14:42:56 UTC (rev 92180)
@@ -0,0 +1,10 @@
+// CS0019: Operator `??' cannot be applied to operands of type `T' and `T'
+// Line: 8
+
+class F
+{
+ T Bar<T> (T t)
+ {
+ return t ?? default(T);
+ }
+}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches