Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-479.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5ad555b9353b1efbcd7633b61f88e77130293c8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;

interface I<T>
{
}

class A : I<int>
{
}

class B : A
{
}

class M
{
	static void Test<T> (I<T> f)
	{
	}
	
	public static void Main ()
	{
		Test (new A ());
		Test (new B ());
	}
}