2009-12-09 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / gtest-lambda-07.cs
bloba8629ac6d6453db2fe7b194d1ea8f81a8b815ae4
3 // Lambda parser tests
5 delegate void D ();
6 delegate void E (bool b);
8 public class C
10 static void Test (D d)
14 static void Test (object o, D d)
18 static void Test (D d1, D d2)
22 static void Test2 (object o, E e)
26 public static void Main ()
28 D e = () => { };
29 e = (D)null;
30 e = default (D);
32 Test (() => { });
33 Test (1, () => { });
34 Test (() => { }, () => { });
35 Test2 (null, (foo) => { });