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

gtest-160.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5a99caaf8c41626a0b1511ab064f59ac21be7536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class Fun<A,B> {}

class List<T> {
  public List<T2> Map<T2> (Fun<T,T2> x)
  {
    return new List<T2>();
  }

  public void foo<T2> ()
  {
    (new List<T2> ()).Map<T> (new Fun<T2,T> ());
  }
}


class X
{
	public static void Main ()
	{ }
}