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
"disable_omit_fp" can now be included in MONO_DEBUG
[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
}