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

26 lines
376 B
C#

// Compiler options: -r:gtest-465-lib.dll
public class DerivedClass : InterfaceWithGenericMethod
{
public void GenericMethod_1<T> () where T : struct, II
{
}
public void GenericMethod_2<T> () where T : class, II
{
}
public void GenericMethod_3<T> () where T : II, new ()
{
}
}
class Program
{
public static int Main ()
{
new DerivedClass ();
return 0;
}
}