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

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

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..9fc04683460a93546531aa0cc56dfb29c8780161
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,25 @@@
++using System;
++
++delegate void Foo<R,S> (R r, S s);
++
++class X
++{
++      public void Hello<U,V> (U u, V v)
++      { }
++
++      public void Test<A,B,C> (A a, B b, C c)
++      {
++              Hello (a, b);
++              C d = c;
++              Foo<A,int> foo = delegate (A i, int j) {
++                      Hello (i, c);
++                      Hello (i, j);
++              };
++      }
++
++      static void Main ()
++      {
++              X x = new X ();
++              x.Test (3, Math.PI, 1 << 8);
++      }
++}