Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-anon-65.cs
1 using System;
2
3 public class BaseClass
4 {
5         public delegate void SomeDelegate ();
6         public BaseClass (SomeDelegate d)
7         {
8                 d ();
9         }
10 }
11
12 public class TestClass : BaseClass
13 {
14         public readonly int Result;
15         public TestClass (int result)
16                 : base (delegate ()
17         {
18                 Console.WriteLine (result);
19         })
20         {
21         }
22
23         public static int Main (string[] args)
24         {
25                 TestClass c = new TestClass (1);
26                 return 0;
27         }
28 }