-delegate void TestFunc (int val);
+using System;
-class A
+class ClassMain
{
- public A(TestFunc func)
+ delegate void D (int i);
+
+ public static void Main ()
{
- func (0);
+ if (true) {
+ const bool test = false;
+ } else {
+ test = false;
+ }
+
+ D d = delegate (int test) { };
}
-}
-
-class TestClass
-{
- static int i = 1;
- static readonly A a = new A(delegate(int a) { i = a; });
-
- static int Main ()
- {
- return i;
+
+ static bool test {
+ set {
+ }
}
}
+