Author: martin
Date: 2006-06-21 09:22:56 -0400 (Wed, 21 Jun 2006)
New Revision: 61903

Added:
   trunk/mcs/tests/gtest-276.cs
Log:
Added test for #77934.

Added: trunk/mcs/tests/gtest-276.cs
===================================================================
--- trunk/mcs/tests/gtest-276.cs        2006-06-21 12:59:27 UTC (rev 61902)
+++ trunk/mcs/tests/gtest-276.cs        2006-06-21 13:22:56 UTC (rev 61903)
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+
+class Tests {
+
+       public static int Main () {
+               int[] x = new int[] {100, 200};
+
+               GenericClass<int>.Z (x, 0);
+
+               return 0;
+       }
+
+       class GenericClass <T> {
+               public static T Z (IList<T> x, int index)
+               {
+                       return x [index];
+               }
+       }
+}

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

Reply via email to