a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
21 lines
262 B
C#
21 lines
262 B
C#
using System;
|
|
|
|
public abstract class A
|
|
{
|
|
public abstract T Foo<T> ();
|
|
}
|
|
|
|
public abstract class B : A
|
|
{
|
|
public override T Foo<T> ()
|
|
{
|
|
return default (T);
|
|
}
|
|
}
|
|
|
|
public class C : B
|
|
{
|
|
public static void Main ()
|
|
{ }
|
|
}
|