Author: martin
Date: 2005-06-20 12:19:59 -0400 (Mon, 20 Jun 2005)
New Revision: 46245
Added:
trunk/mcs/tests/gtest-170.cs
Log:
New test.
Added: trunk/mcs/tests/gtest-170.cs
===================================================================
--- trunk/mcs/tests/gtest-170.cs 2005-06-20 16:19:22 UTC (rev 46244)
+++ trunk/mcs/tests/gtest-170.cs 2005-06-20 16:19:59 UTC (rev 46245)
@@ -0,0 +1,17 @@
+class C <A> {
+ public static void foo<B> (C<B> x)
+ {
+ D.append (x);
+ }
+}
+
+class D {
+ public static void append<A> (C<A> x)
+ {
+ }
+
+ public static void Main ()
+ {
+ C<object>.foo<int> (null);
+ }
+}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches