[Tests] Fix Mono.Data.Tds tests on iOS (#5501)
[mono.git] / mcs / errors / cs1998.cs
1 // CS1998: Async block lacks `await' operator and will run synchronously
2 // Line: 10
3 // Compiler options: -warnaserror
4
5 using System;
6 using System.Threading.Tasks;
7
8 class C
9 {
10         static async Task<int> Method ()
11         {
12                 return 0;
13         }
14         
15         public static void Main ()
16         {
17         }
18 }