New test.
authorMartin Baulig <martin@novell.com>
Mon, 20 Jun 2005 16:19:59 +0000 (16:19 -0000)
committerMartin Baulig <martin@novell.com>
Mon, 20 Jun 2005 16:19:59 +0000 (16:19 -0000)
svn path=/trunk/mcs/; revision=46245

mcs/tests/gtest-170.cs [new file with mode: 0644]

diff --git a/mcs/tests/gtest-170.cs b/mcs/tests/gtest-170.cs
new file mode 100644 (file)
index 0000000..5a3f714
--- /dev/null
@@ -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);
+  }
+}