2009-01-24 Zoltan Varga <vargaz@gmail.com>
[mcs.git] / tests / gtest-298.cs
bloba0aa6ed622729eb34ca0988102b2fbc01199acc8
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 static int Main ()
18 return i;