[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-730.cs
1 class Demo
2 {
3         public void Test (object arg)
4         {
5         }
6
7         static int Test (int i)
8         {
9                 return i;
10         }
11
12         delegate int D (int t);
13
14         int GetPhones ()
15         {
16                 D d = Test;
17                 return d (55);
18         }
19
20         public static int Main ()
21         {
22                 int r = new Demo ().GetPhones ();
23                 if (r != 55)
24                         return 1;
25
26                 return 0;
27         }
28 }