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-variance-19.cs
blob
c4ba1eef30009e2f7cd7e4d17c07e876f9c844b2
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
public class
Test
5
{
6
static void
Bla
<
T
,
U
> ()
where T
:
class
,
U
7
{
8
T
[]
ta
=
new
T
[
0
];
9
IEnumerable
<
T
>
ita
=
ta
;
10
IEnumerable
<
U
>
itu
=
ita
;
11
}
12
13
public static void
Main
()
14
{
15
Bla
<
string
,
object
> ();
16
}
17
}