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

test-744.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cd3b7fa005b5b2f0597cf3f7c5835ca1971aacb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
class M
{
	sealed class Nested : C
	{
		protected override void Extra ()
		{
		}
	}
	
	public static void Main ()
	{
		new Nested ();
	}
}

abstract class A
{
	protected abstract void AMethod ();
}

abstract class B : A
{
	protected abstract void BMethod ();
}

abstract class C : B
{
	protected override void AMethod ()
	{
	}
	
	protected override void BMethod ()
	{
	}
	
	protected abstract void Extra ();
}