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
[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git]
/
mcs
/
tests
/
gtest-466.cs
blob
dd801aac62c24cdfab32d103c3b05f4e25997d7b
1
using
System
;
2
3
class
Program
4
{
5
bool
Test
<
T
> (
T t
)
where T
:
class
6
{
7
return
t
==
this
;
8
}
9
10
public static int
Main
()
11
{
12
var
p
=
new
Program
();
13
14
if
(
p
.
Test
(
"a"
))
15
return
1
;
16
17
if
(!
p
.
Test
(
p
))
18
return
2
;
19
20
return
0
;
21
}
22
}