Author: marek
Date: 2007-09-14 09:29:18 -0400 (Fri, 14 Sep 2007)
New Revision: 85801
Added:
trunk/mcs/tests/gtest-initialize-04.cs
trunk/mcs/tests/test-partial-18.cs
Log:
New tests.
Added: trunk/mcs/tests/gtest-initialize-04.cs
===================================================================
--- trunk/mcs/tests/gtest-initialize-04.cs 2007-09-14 12:58:12 UTC (rev
85800)
+++ trunk/mcs/tests/gtest-initialize-04.cs 2007-09-14 13:29:18 UTC (rev
85801)
@@ -0,0 +1,18 @@
+// Compiler options: -langversion:linq
+
+using System;
+using System.Collections.Generic;
+
+public class C
+{
+ static readonly List<int> values = new List<int> { 1, 2, 3 };
+
+ public static int Main ()
+ {
+ if (values.Count != 3)
+ return 1;
+
+ Console.WriteLine ("OK");
+ return 0;
+ }
+}
Property changes on: trunk/mcs/tests/gtest-initialize-04.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/mcs/tests/test-partial-18.cs
===================================================================
--- trunk/mcs/tests/test-partial-18.cs 2007-09-14 12:58:12 UTC (rev 85800)
+++ trunk/mcs/tests/test-partial-18.cs 2007-09-14 13:29:18 UTC (rev 85801)
@@ -0,0 +1,22 @@
+namespace N
+{
+ partial class Foo
+ {
+ }
+}
+
+namespace N
+{
+ using System;
+
+ partial class Foo
+ {
+ public Foo ()
+ {
+ Console.Write ("Hello, world.\n");
+ }
+ public static void Main ()
+ {
+ }
+ }
+}
\ No newline at end of file
Property changes on: trunk/mcs/tests/test-partial-18.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches