diff options
Diffstat (limited to 'mcs/tests/test-103.cs')
-rwxr-xr-x | mcs/tests/test-103.cs | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/mcs/tests/test-103.cs b/mcs/tests/test-103.cs deleted file mode 100755 index 09974f4cc29..00000000000 --- a/mcs/tests/test-103.cs +++ /dev/null @@ -1,28 +0,0 @@ -// -// We should also allow overrides to work on protected methods. -// Only private is not considered part of the override process. -// -abstract class A { - protected abstract int Foo (); -} - -class B : A { - protected override int Foo () - { - return 0; - } - - public int M () - { - return Foo (); - } -} - -class Test { - public static int Main () - { - return new B ().M (); - } -} - - |