Author: marek
Date: 2008-01-11 05:09:54 -0500 (Fri, 11 Jan 2008)
New Revision: 92658

Added:
   trunk/mcs/errors/gcs0201.cs
Log:
New test.



Added: trunk/mcs/errors/gcs0201.cs
===================================================================
--- trunk/mcs/errors/gcs0201.cs 2008-01-11 10:09:05 UTC (rev 92657)
+++ trunk/mcs/errors/gcs0201.cs 2008-01-11 10:09:54 UTC (rev 92658)
@@ -0,0 +1,13 @@
+// CS0201: Only assignment, call, increment, decrement, and new object 
expressions can be used as a statement
+// Line: 10
+
+class TestClass
+{
+       delegate void test_delegate (int arg);
+
+       public TestClass ()
+       {
+               test_delegate D = (b) => "a";
+       }
+}
+


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

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

Reply via email to