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

test-anon-142.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0f2040d26e32b71b61aae36295b1978d57670421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;

public class Test
{
	delegate void D ();
	
	public static int Main ()
	{
		new Test ().Test_3<int> ();
		return 0;
	}
	
	public void Test_3<T> () where T : struct
	{
		D d = delegate () {
			T? tt = null;
		};
		d ();
	}
}