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

1  2 
mcs/tests/gtest-anon-12.cs

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0a629af971981c12e177b5d6311b73c64af16483
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,26 @@@
++using System;
++
++public delegate void Foo ();
++
++public class World<T>
++{
++      public void Hello<U> (U u)
++      { }
++
++      public void Test (T t)
++      {
++              Hello (t);
++              Foo foo = delegate {
++                      Hello (t);
++              };
++      }
++}
++
++class X
++{
++      static void Main ()
++      {
++              World<X> world = new World<X> ();
++              world.Test (new X ());
++      }
++}