Author: marek
Date: 2007-08-28 06:13:49 -0400 (Tue, 28 Aug 2007)
New Revision: 84936

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



Added: trunk/mcs/errors/gcs0746.cs
===================================================================
--- trunk/mcs/errors/gcs0746.cs 2007-08-28 10:13:19 UTC (rev 84935)
+++ trunk/mcs/errors/gcs0746.cs 2007-08-28 10:13:49 UTC (rev 84936)
@@ -0,0 +1,13 @@
+// CS0746: Invalid anonymous type member declarator. Anonymous type members 
must be a member assignment, simple name or member access expression
+// Line: 16
+// Compiler options: -langversion:linq
+
+using System;
+
+public class Test
+{
+       static void Main ()
+       {
+               var c = new { new Test () };
+       }
+}


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

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

Reply via email to