repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
in System.Collections.Generic:
[mcs.git]
/
tests
/
gtest-variance-9.cs
blob
d40771fafa9a4eabb0df74635eab953baf62f37b
1
// Compiler options: -langversion:future
2
3
interface
IIn
<
in
T
>
4
{
5
}
6
7
class
Test
8
{
9
10
static void
Foo
(
IIn
<
string
>
f
)
11
{
12
}
13
14
public static int
Main
()
15
{
16
IIn
<
object
>
test
=
null
;
17
Foo
(
test
);
18
19
return
0
;
20
}
21
}