projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1733851
)
New test.
author
Martin Baulig
<martin@novell.com>
Thu, 7 Jul 2005 17:51:39 +0000
(17:51 -0000)
committer
Martin Baulig
<martin@novell.com>
Thu, 7 Jul 2005 17:51:39 +0000
(17:51 -0000)
svn path=/trunk/mcs/; revision=47058
mcs/tests/gtest-187.cs
[new file with mode: 0755]
patch
|
blob
diff --git a/mcs/tests/gtest-187.cs
b/mcs/tests/gtest-187.cs
new file mode 100755
(executable)
index 0000000..
607b171
--- /dev/null
+++ b/
mcs/tests/gtest-187.cs
@@ -0,0
+1,24
@@
+public class Foo<T> where T:Foo<T>
+{
+ public T n;
+
+ public T next()
+ {
+ return n;
+ }
+}
+
+public class Goo : Foo<Goo>
+{
+ public int x;
+}
+
+public class Test
+{
+ public static void Main()
+ {
+ Goo x = new Goo();
+
+ x=x.next();
+ }
+}