Author: marek
Date: 2007-06-20 14:20:19 -0400 (Wed, 20 Jun 2007)
New Revision: 80345
Added:
trunk/mcs/tests/gtest-var-07.cs
Modified:
trunk/mcs/tests/known-issues-gmcs
Log:
Add new test + update.
Added: trunk/mcs/tests/gtest-var-07.cs
===================================================================
--- trunk/mcs/tests/gtest-var-07.cs 2007-06-20 18:19:54 UTC (rev 80344)
+++ trunk/mcs/tests/gtest-var-07.cs 2007-06-20 18:20:19 UTC (rev 80345)
@@ -0,0 +1,26 @@
+// Compiler options: -langversion:linq
+
+// Tests `var' keyword contextual parsing
+
+public class Test : var
+{
+ static void var ()
+ {
+ }
+
+ public static int Main ()
+ {
+ var i = null;
+ var v = new var ();
+
+ if (v.GetType () != typeof (var))
+ return 1;
+
+ return 0;
+ }
+}
+
+public class var
+{
+}
+
Property changes on: trunk/mcs/tests/gtest-var-07.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/mcs/tests/known-issues-gmcs
===================================================================
--- trunk/mcs/tests/known-issues-gmcs 2007-06-20 18:19:54 UTC (rev 80344)
+++ trunk/mcs/tests/known-issues-gmcs 2007-06-20 18:20:19 UTC (rev 80345)
@@ -13,3 +13,5 @@
gtest-230.cs
gtest-linq-01.cs
+gtest-implicitarray-01.cs
+
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches