summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-variance-9.cs
blob: 1522e91c3413419ec375cb7d2547afb86127529a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
interface IIn<in T>
{
}

class Test
{

	static void Foo (IIn<string> f)
	{
	}

	public static int Main ()
	{
		IIn<object> test = null;
		Foo (test);

		return 0;
	}
}