New test.
authorMartin Baulig <martin@novell.com>
Wed, 4 Oct 2006 20:47:55 +0000 (20:47 -0000)
committerMartin Baulig <martin@novell.com>
Wed, 4 Oct 2006 20:47:55 +0000 (20:47 -0000)
svn path=/trunk/mcs/; revision=66256

1  2 
mcs/tests/test-anon-55.cs

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..7ccaaaf4f51c7ef0c29dca735810ba254b50c1f3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,32 @@@
++using System;
++
++public class Foo
++{
++      protected delegate void Hello ();
++
++      protected void Test (Hello hello)
++      {
++              hello ();
++      }
++
++      private void Private ()
++      {
++              Console.WriteLine ("Private!");
++      }
++
++      public void Test ()
++      {
++              Test (delegate {
++                      Private ();
++              });
++      }
++}
++
++class X
++{
++      static void Main ()
++      {
++              Foo foo = new Foo ();
++              foo.Test ();
++      }
++}