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

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

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..6bd016b19941a412e2b2dd0920f4a94cbc4e1022
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,30 @@@
++using System;
++
++public delegate void Foo ();
++
++public class Test<R>
++{
++      public void World<S,T> (S s, T t)
++              where S : X
++              where T : S
++      { }
++
++      public void Hello<U,V> (U u, V v)
++              where U : X
++              where V : U
++      {
++              Foo foo = delegate {
++                      World (u, v);
++              };
++      }
++}
++
++public class X
++{
++      public static void Main ()
++      {
++              X x = new X ();
++              Test<int> test = new Test<int> ();
++              test.Hello (x, x);
++      }
++}