Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-async-29.cs
1 using System;
2 using System.Threading.Tasks;
3
4 class C
5 {
6         static async Task<int> Test()
7         {
8                 await Task.Yield();
9                 await Task.Yield();
10                 await Task.Yield();
11                 return 1;
12         } 
13         
14         public static int Main ()
15         {
16                 Test ().Wait ();
17                 return 0;
18         }
19 }