[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-566.cs
1 public class Test
2 {
3         private C _vssItem;
4
5         public string Spec
6         {
7                 get { return _vssItem.Spec; }
8         }
9         
10         void Foo (C c)
11         {
12                 c.Checkout ();
13         }
14         
15         void Foo2 (CC cc)
16         {
17                 cc.Spec = "aa";
18         }
19
20         public static void Main ()
21         {
22         }
23 }
24
25 interface A
26 {
27         void Checkout ();
28         string Spec
29         {
30                 get;
31         }
32 }
33
34 interface B : A
35 {
36         new void Checkout ();
37         new string Spec
38         {
39                 get;
40         }
41 }
42
43 interface C : B
44 {
45 }
46
47 class CA
48 {
49         public string Spec
50         {
51                 set {}
52         }
53 }
54
55 class CB : CA
56 {
57         new public string Spec
58         {
59                 set {}
60         }
61 }
62
63 class CC : CB
64 {
65 }