update readme (#21797)
[mono-project.git] / mcs / tests / test-anon-45.cs
blob3c57a3b697a2509c4caa925c4b91e337e9b40a20
1 delegate void TestFunc (int val);
3 class A
5 public A(TestFunc 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;