[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / test-async-38.cs
blobcdd22347d21bc8fc6f1a6d2400325f2428dea4f0
1 using System;
2 using System.Threading.Tasks;
4 class C
6 void Test ()
8 Func<Task<int>> f = async () => {
9 await GetResultsAsync (null);
10 return 2;
13 f ();
16 Task<int> GetResultsAsync (object arg)
18 return null;
21 public static void Main ()
23 new C ().Test ();