repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
tests
/
gtest-210.cs
blob
607b171ce5980266db3920f1312bbb83bc42a667
1
public class
Foo
<
T
>
where T
:
Foo
<
T
>
2
{
3
public
T n
;
4
5
public
T
next
()
6
{
7
return
n
;
8
}
9
}
10
11
public class
Goo
:
Foo
<
Goo
>
12
{
13
public int
x
;
14
}
15
16
public class
Test
17
{
18
public static void
Main
()
19
{
20
Goo x
=
new
Goo
();
21
22
x
=
x
.
next
();
23
}
24
}