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

gtest-556.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1c85a6d4c069f2b7b49f68502416f7e602a756ec (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
// Compiler options: -r:gtest-556-lib.dll

using System;

class A2
{
	public class N<T>
	{
		public static N<T> Method ()
		{
			return default (N<T>);
		}
	}
}

class Test
{
	public static int Main ()
	{
		A2.N<short> b1 = A2.N<short>.Method ();
		A.N<byte> b2 = A.N<byte>.Method ();

		return 0;
	}
}