[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / test-anon-24.cs
blobe9957f19a7ff42f2a9964cca35c36cd3a3ad137a
1 using System;
3 delegate int D ();
5 class X {
7 public static void Main ()
9 D x = T (1);
11 Console.WriteLine ("Should be 2={0}", x ());
14 static D T (int a)
16 D d = delegate {
17 a = a + 1;
18 return a;
21 return d;