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