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

gtest-508.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5d83ae4eca9dd2882fe558a772cb3bf89eb5918f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using T = A<int>;

class B : T
{
	public B (int i)
		: base (i)
	{
	}

	public static void Main ()
	{
		T t = new B (4);
	}
}

class A<T> where T : struct
{
	protected A(T t)
	{
	}
}