projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
312c951
)
New test.
author
Martin Baulig
<martin@novell.com>
Tue, 12 Oct 2004 19:11:18 +0000
(19:11 -0000)
committer
Martin 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]
patch
|
blob
diff --git a/mcs/tests/gen-84.cs
b/mcs/tests/gen-84.cs
new file mode 100644
(file)
index 0000000..
c0449b2
--- /dev/null
+++ b/
mcs/tests/gen-84.cs
@@ -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 ()
+ { }
+}
+