2009-02-10 Jeffrey Stedfast <fejj@novell.com>
[mono-project/dkf.git] / mcs / tests / gtest-anon-12.cs
blob0a629af971981c12e177b5d6311b73c64af16483
1 using System;
3 public delegate void Foo ();
5 public class World<T>
7 public void Hello<U> (U u)
8 { }
10 public void Test (T t)
12 Hello (t);
13 Foo foo = delegate {
14 Hello (t);
19 class X
21 static void Main ()
23 World<X> world = new World<X> ();
24 world.Test (new X ());