From a3cad31ba2dea06a7eecf828ec87878748a83965 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Wed, 29 Nov 2006 20:32:02 +0000 Subject: [PATCH] New test. svn path=/branches/martin/anonymous-methods2/work/; revision=68692 --- mcs/work/test-martin-7.cs | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 mcs/work/test-martin-7.cs diff --git a/mcs/work/test-martin-7.cs b/mcs/work/test-martin-7.cs deleted file mode 100644 index aba3e9d5df0..00000000000 --- a/mcs/work/test-martin-7.cs +++ /dev/null @@ -1,39 +0,0 @@ -// Bug #79702 -public delegate void FooHandler(); - -public class X -{ - private string a; - - public X(string a) - { - this.a = a; - } - - static void Main() - { - } -} - -public class Y : X -{ - private Z a; - - public Y(Z a) : base(a.A) - { - this.a = a; - - FooHandler handler = delegate { - a.Hello(); - }; - } -} - -public class Z -{ - public string A; - - public void Hello () - { - } -} -- 2.25.1