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

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

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..31f6100310872d78a04e5caf7bb4e2e7652e5e44
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,32 @@@
++using System;
++
++public delegate void Foo ();
++
++public class World
++{
++      public void Hello (long a)
++      { }
++
++      public void Test (int t)
++      {
++              Hello (t);
++              long j = 1 << t;
++              for (int u = 0; u < j; u++) {
++                      long test = t;
++
++                      Foo foo = delegate {
++                              long v = u * t * test;
++                              Hello (v);
++                      };
++              }
++      }
++}
++
++class X
++{
++      static void Main ()
++      {
++              World world = new World ();
++              world.Test (5);
++      }
++}