repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Another dist build fix for rx integration, move *.cs file to safe-ish path.
[mono-project.git]
/
mcs
/
tests
/
gtest-542.cs
blob
77370007bb20d986c4bb507428b941f8f7c3eb55
1
abstract class
A
<
T
>
2
{
3
public abstract
T
getT
();
4
5
public class
B
:
A
<
B
>
6
{
7
public override
A
<
T
>.
B
getT
()
8
{
9
return this
;
10
}
11
}
12
}
13
14
class
C
15
{
16
static int
Main
()
17
{
18
var
r
=
new
A
<
short
>.
B
();
19
if
(
r
.
getT
() !=
r
)
20
return
1
;
21
22
return
0
;
23
}
24
}