projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git]
/
mcs
/
tests
/
gtest-611.cs
1
interface I
2
{
3
}
4
5
class X : I
6
{
7
}
8
9
class X2
10
{
11
public static void Main ()
12
{
13
Foo<I, I> (new X[0]);
14
Foo<X, I> (new X[0]);
15
}
16
17
static void Foo<T1,T2> (T2[] array) where T1 : class, T2
18
{
19
T1[] a = (T1[])array;
20
}
21
22
static void Foo<T1,T2> (T2[][] array) where T1 : class, T2
23
{
24
T1[][] a = (T1[][])array;
25
}
26
}