Merge branch 'master' into msbuilddll2
[mono.git] / mcs / tests / test-async-58.cs
1 using System;
2 using System.Threading.Tasks;
3
4 public class A
5 {
6         public int Get ()
7         {
8                 return 1;
9         }
10 }
11
12 public class B : A
13 {
14         public async Task<int> GetAsync ()
15         {
16                 return base.Get ();
17         }
18         
19         static void Main ()
20         {
21                 new B ().GetAsync ().Wait ();
22         }
23 }