2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / tests / test-anon-47.cs
blob31f6100310872d78a04e5caf7bb4e2e7652e5e44
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 Hello (t);
13 long j = 1 << t;
14 for (int u = 0; u < j; u++) {
15 long test = t;
17 Foo foo = delegate {
18 long v = u * t * test;
19 Hello (v);
25 class X
27 static void Main ()
29 World world = new World ();
30 world.Test (5);