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

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

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..283fd126a675b203184acb5f43df5236be6f5246
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,28 @@@
++using System;
++
++public delegate void Foo ();
++
++public class World
++{
++      public void Hello (long a)
++      { }
++
++      public void Test (int t)
++      {
++              Hello (t);
++              int u = 2 * t;
++              Foo foo = delegate {
++                      Hello (u);
++              };
++              foo ();
++      }
++}
++
++class X
++{
++      static void Main ()
++      {
++              World world = new World ();
++              world.Test (5);
++      }
++}