2007-03-19 Marek Sieradzki <marek.sieradzki@gmail.com>
[mono.git] / mcs / tests / gtest-anon-17.cs
1 // Compiler options: -langversion:linq
2 // Supported by C# 3.0
3
4 public class C
5 {
6         public delegate int Func<T> (T t);
7         
8         public static void Test<T, U> (Func<T> f, U u)
9         {
10         }
11         
12         public static void Main ()
13         {
14                 Test<int, string> (delegate (int i) { return i; }, "");
15                 Test (delegate (int i) { return i; }, 1);
16         }
17 }