Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

27 lines
338 B
C#

public class Foo
{
}
public class Top<S> where S : Foo
{
public class Base<T> where T : S
{
public class Derived<U> where U : T
{
public void Test ()
{
}
}
}
}
public class Test
{
public static int Main ()
{
Top<Foo>.Base<Foo>.Derived<Foo> d = new Top<Foo>.Base<Foo>.Derived<Foo> ();
d.Test ();
return 0;
}
}