Author: marek
Date: 2007-06-20 14:19:54 -0400 (Wed, 20 Jun 2007)
New Revision: 80344
Added:
trunk/mcs/errors/gcs0815-2.cs
Modified:
trunk/mcs/errors/known-issues-gmcs
Log:
New test + update.
Added: trunk/mcs/errors/gcs0815-2.cs
===================================================================
--- trunk/mcs/errors/gcs0815-2.cs 2007-06-20 18:19:11 UTC (rev 80343)
+++ trunk/mcs/errors/gcs0815-2.cs 2007-06-20 18:19:54 UTC (rev 80344)
@@ -0,0 +1,16 @@
+// CS0815: An implicitly typed local variable declaration cannot be
initialized with `void'
+// Line: 9
+// Compiler options: -langversion:linq
+
+public class Test
+{
+ static void Main ()
+ {
+ var v = Foo ();
+ }
+
+ static void Foo ()
+ {
+ }
+}
+
Property changes on: trunk/mcs/errors/gcs0815-2.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/mcs/errors/known-issues-gmcs
===================================================================
--- trunk/mcs/errors/known-issues-gmcs 2007-06-20 18:19:11 UTC (rev 80343)
+++ trunk/mcs/errors/known-issues-gmcs 2007-06-20 18:19:54 UTC (rev 80344)
@@ -41,3 +41,4 @@
# Errors fixed in version 2.0 only
cs1533.cs IGNORE
+gcs0820.cs # temporary disabled
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches