2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / tests / test-anon-48.cs
blob77acd9bd31e23c41a3d76477e72bfae499877dcf
1 using System;
3 public delegate void Foo ();
5 public class World
7 public void Hello (long a)
8 { }
10 public void Test (int t)
12 for (long l = 0; l < t; l++) {
13 for (long m = 0; m < l; m++) {
14 for (int u = 0; u < t; u++) {
15 Foo foo = delegate {
16 Hello (u);
17 Hello (l);
18 Hello (m);
20 foo ();
27 class X
29 static void Main ()
31 World world = new World ();
32 world.Test (5);