"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / test-async-28.cs
blobef7ddeb6030c7ee997b6b8ef7fcfae373bd29eb5
1 using System.Linq;
2 using System.Threading.Tasks;
4 class C
6 public static async Task Test ()
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 ();
13 public static void Main ()
15 Test ().Wait ();