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

20 lines
210 B
C#

interface I<T>
{
}
class Foo<T1, T2> where T2 : I<I<T1>>
{
public Foo (T2 t2)
{
}
}
class Bar : I<I<string>>
{
public static int Main ()
{
var foo = new Foo<string, Bar> (new Bar ());
return 0;
}
}