[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / gtest-298.cs
blob05dee4de4f6e7161104d4a0075c5f365b86ab104
1 delegate void TestFunc<T> (T val);
3 class A
5 public A (TestFunc<int> func)
7 func (0);
11 class TestClass
13 static int i = 1;
14 static readonly A a = new A(delegate(int a) { i = a; });
16 public static int Main ()
18 return i;