[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / gtest-497.cs
1 class Item
2 {
3 }
4
5 class ItemCollection<T> where T : Item
6 {
7         public void Bind<U> (ItemCollection<U> sub) where U : T
8         {
9         }
10 }
11
12 class a
13 {
14         public static void Main ()
15         {
16                 var ic = new ItemCollection<Item> ();
17                 ic.Bind (ic);
18         }
19 }