2010-05-31 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-067.cs
blob43df27f9fa217447a60e2b52486261aa7a962d48
1 class Test
3 public delegate int Foo<T> (T t, T u);
5 public void Hello<U> (Foo<U> foo, U u)
6 { }
9 class X
11 static int Add (int a, int b)
13 return a + b;
16 static void Main ()
18 Test test = new Test ();
19 test.Hello<int> (new Test.Foo<int> (Add), 5);