Author: martin
Date: 2005-06-20 12:45:16 -0400 (Mon, 20 Jun 2005)
New Revision: 46247
Added:
trunk/mcs/tests/gtest-171.cs
Log:
New test.
Added: trunk/mcs/tests/gtest-171.cs
===================================================================
--- trunk/mcs/tests/gtest-171.cs 2005-06-20 16:45:06 UTC (rev 46246)
+++ trunk/mcs/tests/gtest-171.cs 2005-06-20 16:45:16 UTC (rev 46247)
@@ -0,0 +1,18 @@
+class list <a> {
+}
+
+class Nil <a> : list <a> {
+ public static Nil <a> single;
+ static Nil () {
+ single = new Nil <a> ();
+ }
+}
+
+
+public class Test {
+ public static void Main() {
+ list <int>[,] x = new list<int>[10,10];
+ x[0,0] = Nil <int>.single;
+
+ }
+}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches