[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-73.cs
1 //
2 // This test is used to test that we do not use the .override
3 // command on abstract method implementations.
4 //
5
6 public abstract class Abstract {
7         public abstract int A ();
8 }
9
10 public class Concrete : Abstract {
11         public override int A () {
12                 return 1;
13         }
14 }
15
16 class Test {
17
18         public static int Main ()
19         {
20                 Concrete c = new Concrete ();
21
22                 if (c.A () != 1)
23                         return 1;
24
25                 return 0;
26         }
27 }
28