2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / 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 ());