[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-anon-177.cs
1 using System;
2 using System.Linq;
3 using System.Collections.Generic;
4
5 class X
6 {
7         public static void Execute<TArg>(TArg args)
8         {
9                 Action a = () => {
10                         List<string> s = new List<string> () {
11                                 "test"
12                         };
13
14                         object res = null;
15                         var res2 = s.Select(acrl => acrl.Select(acr => res)).ToArray ();
16                 };
17
18                 a ();
19         }
20
21         public static void Main ()
22         {
23                 Execute<string> (null);
24         }
25 }