[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / gtest-546.cs
1 using System;
2
3 class Factory
4 {
5         public class S<G1, G2>
6         {
7         }
8         
9         public static S<F1, F2> Create<F1, F2> (F1 f1, F2 f2)
10         {
11                 return null;
12         }
13 }
14
15 class A
16 {
17         static TR Test<T1, T2, TR>(T1 t1, T2 t2, Func<T1, T2, TR> f)
18         {
19                 return f (t1, t2);
20         }
21         
22         public static void Main ()
23         {
24                 var r = Test ("a", "b", Factory.Create);
25         }
26 }