[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-async-28.cs
1 using System.Linq;
2 using System.Threading.Tasks;
3
4 class C
5 {
6         public static async Task Test ()
7         {
8                 Task<int[]> d = Task.FromResult (new[] { 1, 4, 5 });
9                 var r = from x in await d select x;
10                 var res = r.ToList ();
11         }
12
13         public static void Main ()
14         {
15                 Test ().Wait ();
16         }
17 }