Merge pull request #5636 from BrzVlad/fix-xmm-scan
[mono.git] / mcs / tests / test-async-27.cs
1 using System;
2 using System.Threading;
3 using System.Threading.Tasks;
4
5 class MainClass
6 {
7         async static Task AsyncTest ()
8         {
9                 var b = await Task.Factory.StartNew (() => 13);
10         }
11
12         public static void Main (string[] args)
13         {
14                 for (int i = 0; i < 100; ++i)
15                         AsyncTest ().Wait ();
16         }
17 }