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
Merge pull request #4202 from marek-safar/compression
[mono-project.git]
/
mcs
/
tests
/
gtest-551.cs
blob
694398e3a346ad2d0521513242f4804bd6e4031f
1
using
System
;
2
3
class
Base
<
T
>
where T
:
new
()
4
{
5
protected readonly
T field
=
new
T
();
6
}
7
8
class
Derived
<
T
> :
Base
<
T
>
where T
:
ICloneable
,
new
()
9
{
10
public
Derived
()
11
{
12
field
.
Clone
();
13
}
14
}
15
16
class
C
:
ICloneable
17
{
18
public object
Clone
()
19
{
20
return null
;
21
}
22
23
public static void
Main
()
24
{
25
var
a
=
new
Derived
<
C
> ();
26
}
27
}