[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / gtest-113.cs
1 using System;
2
3 public delegate V Mapper<T,V> (T item);
4
5 public class List<T>
6 {
7         public void Map<V> (Mapper<T,V> mapper)
8         { }
9 }
10
11 class X
12 {
13         public static void Main ()
14         {
15                 List<int> list = new List<int> ();
16                 list.Map (new Mapper<int,double> (delegate (int i) { return i/10.0; }));
17         }
18 }
19