[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / test-73.cs
blob30bc6629d20063cc7f32aa75a5c1e3ee5e8ba753
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 public static int Main ()
20 Concrete c = new Concrete ();
22 if (c.A () != 1)
23 return 1;
25 return 0;