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
Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git]
/
mcs
/
tests
/
gtest-542.cs
blob
d4bce6ee9d9020638c15576f95f6fa60d89ec134
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
public 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
}