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

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

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