[wasm] Fix WASM CI script. (#6741)
[mono-project.git] / mcs / errors / cs4014-5.cs
blobd0df5dc52fd19414c8f9ff06e09dfb4ca9784099
1 // CS4014: The statement is not awaited and execution of current method continues before the call is completed. Consider using `await' operator or calling `Wait' method
2 // Line: 17
3 // Compiler options: -warnaserror
5 using System;
6 using System.Threading.Tasks;
8 class C
10 public static async Task<T> Test<T> ()
12 return await Task.FromResult (default (T));
15 static void Main ()
17 Test<object> ();