summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0502.cs
blob: 54979376c8839117b2c6ccf632c96ed9802de16c (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0502: `Main.Test()' cannot be both abstract and sealed
// Line: 10

abstract class Base {
    public abstract void Test ();
}

abstract class Main: Base
{
    public abstract sealed override void Test () {}
}