class X<T1, T2, U>
	where T1 : class, T2
	where T2 : class
	where U : A, T1
{
}

class A
{
}

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