summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-035.cs
blob: 73febabcdc80b17b2f712daee9fbdc3dc80e0a97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// May use a constructed type as constraint.

class Test<T>
{ }

class Foo<T>
	where T : Test<T>
{ }

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