2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / tests / test-anon-42.cs
blob5a8ba9d9223001c943beb1fc28829ea26965740b
1 using System;
3 delegate void Simple ();
5 delegate Simple Foo ();
7 class X
9 public static void Hello (long k)
10 { }
12 public static void Test (int i)
14 Hello (3);
15 Foo foo = delegate {
16 Hello (4);
17 return delegate {
18 Hello (5);
21 Simple simple = foo ();
22 simple ();
25 static void Main ()
27 X x = new X ();
28 X.Test (3);