6992685b86
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
25 lines
275 B
C#
25 lines
275 B
C#
namespace Test
|
|
{
|
|
public class Program
|
|
{
|
|
public static int Main ()
|
|
{
|
|
dynamic d = 0L;
|
|
return C.M<Program> (d);
|
|
}
|
|
}
|
|
|
|
public class C
|
|
{
|
|
public static int M<T> (int i) where T : C
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
public static int M<T> (long l)
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
}
|