* TaskLoggingHelper.cs (LogErrorFromException): Add missing overload.
[mcs.git] / tests / test-73.cs
blob2acf9806895893e181467d9770f72dad22eeb341
1 //
2 // This test is used to test that we do not use the .override
3 // command on abstract method implementations.
4 //
6 public abstract class Abstract {
7 public abstract int A ();
10 public class Concrete : Abstract {
11 public override int A () {
12 return 1;
16 class Test {
18 static int Main ()
20 Concrete c = new Concrete ();
22 if (c.A () != 1)
23 return 1;
25 return 0;