[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-620.cs
1 //
2 // fixed
3 //
4 class X {
5
6         static void A (ref int a)
7         {
8                 a++;
9         }
10
11         // Int32&
12         static void B (ref int a)
13         {
14                 // Int32&&
15                 A (ref a);
16         }
17
18         public static int Main ()
19         {
20                 int a = 10;
21
22                 B (ref a);
23
24                 if (a == 11)
25                         return 0;
26                 else
27                         return 1;
28         }
29 }