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

test-default-02.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0039782e5f2fd6450f4915a25bdabece4912c0e4 (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
27
28
29
30
31
32
33
// Compiler options: -langversion:latest

class C
{
	static void Main()
	{
		M (default, 1);

		M2 (default);
		M2 (null);

		var res = Test (default);
	}


	static void M<T> (T x, T y)
	{
	}

	static void M2 (params object[] x)
	{        
	}

	static byte[] Test (S<byte> x)
	{
		return null;
	}
}

struct S<T>
{

}