[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-anon-132.cs
1 using System;
2 using System.Collections.Generic;
3
4 public class Program {
5
6         public static void Assert (Action<int> action)
7         {
8                 action (42);
9         }
10
11         public static void Foo<T> (IList<T> list)
12         {
13                 Assert (i => {
14                         T [] backup = new T [list.Count];
15                 });
16         }
17
18         public static void Main (string [] args)
19         {
20                 Foo (args);
21         }
22 }