[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-anon-137.cs
1 using System;
2 using System.Collections.Generic;
3
4 public class Wrap<U>
5 {
6         public List<U> t;
7 }
8
9 public class Test
10 {
11         public int Run<T> (Wrap<T> t)
12         {
13                 Action f = () => { t.t = new List<T> (); };
14                 f ();
15                 return t.t != null ? 0 : 1;
16         }
17
18         public static int Main ()
19         {
20                 return new Test ().Run (new Wrap <byte> ());
21         }
22 }