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

29 lines
293 B
C#

using System;
public class B<T>
{
}
public class B2 : B<object>
{
}
public class C
{
public static void Test<T, I> () where T : B<I>, I
{
Foo<T, I> ();
}
public static void Foo<T, I> () where T : B<I>, I
{
}
public static int Main ()
{
Test<B2, object> ();
return 0;
}
}