Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-async-05.cs
1 using System.Threading.Tasks;
2
3 class C
4 {
5         public async Task SynchronousCall (int arg)
6         {
7                 AnotherTask (arg);
8         }
9         
10         Task AnotherTask (int arg)
11         {
12                 return Task.FromResult (arg);
13         }
14         
15         public static void Main ()
16         {
17                 new C ().SynchronousCall (1);
18         }
19 }