2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / tests / test-anon-62.cs
blobaba3e9d5df0acc544bdff47e40c51e57a6368df4
1 // Bug #79702
2 public delegate void FooHandler();
4 public class X
6 private string a;
8 public X(string a)
10 this.a = a;
13 static void Main()
18 public class Y : X
20 private Z a;
22 public Y(Z a) : base(a.A)
24 this.a = a;
26 FooHandler handler = delegate {
27 a.Hello();
32 public class Z
34 public string A;
36 public void Hello ()