[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / dtest-057.cs
1 using System;
2
3 class Program
4 {
5         public static int Test(Func<object> func)
6         {
7                 func ();
8                 return 1;
9         }
10
11         public static int Test(Func<string> func)
12         {
13                 func ();
14                 return 2;
15         }
16         
17         public static int Main()
18         {
19                 if (Test (() => (dynamic) 1) != 1)
20                         return 1;
21                 
22                 return 0;
23         }
24 }