[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-781.cs
1 using System;
2
3 delegate void D ();
4
5 class E
6 {
7         public event D temp;
8 }
9
10 class A
11 {
12         E Prop  {
13                 get {
14                         return new E ();
15                 }
16         }
17
18         void Test ()
19         {
20                 Prop.temp += delegate () { };
21         }
22
23         public static void Main ()
24         {
25                 var a = new A ();
26                 a.Test ();
27         }
28 }