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

test-anon-116.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a8f7da19f68cf6f5371446f610121d9a42fcf10c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Bug #79972
delegate void TestFunc<T>(T val);

class A
{
	public A(TestFunc<int> func) { }

	public static void Main ()
	{ }
}

class TestClass
{
	readonly A a = new A(delegate(int a) { });
	static void Func<T>(TestFunc<T> func) { }
}