Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-255.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cdd324599e4ee5a4f789442b2b88a19124f4861d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 ()
	{ }
}