New test.
authorMartin Baulig <martin@novell.com>
Tue, 12 Oct 2004 19:11:18 +0000 (19:11 -0000)
committerMartin Baulig <martin@novell.com>
Tue, 12 Oct 2004 19:11:18 +0000 (19:11 -0000)
svn path=/trunk/mcs/; revision=34922

mcs/tests/gen-84.cs [new file with mode: 0644]

diff --git a/mcs/tests/gen-84.cs b/mcs/tests/gen-84.cs
new file mode 100644 (file)
index 0000000..c0449b2
--- /dev/null
@@ -0,0 +1,29 @@
+namespace HasherBuilder
+{
+       public class ByPrototype<S>
+       {
+               public static IHasher<S> Examine()
+               {
+                       return null;
+               }
+       }
+}
+
+public interface IHasher<T>
+{
+}
+
+public class ArrayList<U>
+{
+       public IHasher<U> GetHasher ()
+       {
+               return HasherBuilder.ByPrototype<U>.Examine();
+       }
+}
+
+class X
+{
+       static void Main ()
+       { }
+}
+