[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / gtest-620.cs
1 interface I<T>
2 {
3 }
4
5 class A<T>
6 {
7         public virtual T M<U> (U u) where U : T
8         {
9                 return u;
10         }
11 }
12
13 class B<W> : A<I<W>>, I<string>
14 {
15         public override I<W> M<U> (U u)
16         {
17                 return u;
18         }
19 }
20
21 class Bug
22 {
23         public static void Main ()
24         {
25                 var b = new B<string> ();
26                 b.M (b);
27         }
28 }