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

gtest-367.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6fa68ce75ef664440b58ca9e532a46b81bbe2cdb (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
using System;

class Foo {}

class Repro {

	public static void Main ()
	{
	}

	static void Bar<TFoo> (TFoo foo) where TFoo : Repro
	{
		Baz (foo, Gazonk);
	}

	static void Baz<T> (T t, Action<T> a)
	{
		a (t);
	}

	static void Gazonk (Repro f)
	{
	}
}