[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / test-467.cs
blobbaea1270e55c2a407a5feac34517ed0d0f52b51c
1 using System;
3 class A
5 public delegate int D ();
8 class B : A
10 new delegate void D ();
13 class C
15 static int Foo ()
17 return 1;
20 public static int Main ()
22 A.D d = new B.D (Foo);
23 if (d () != 1)
24 return 1;
26 return 0;