eol
[mcs.git] / tests / test-anon-46.cs
blob283fd126a675b203184acb5f43df5236be6f5246
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 int u = 2 * t;
14 Foo foo = delegate {
15 Hello (u);
17 foo ();
21 class X
23 static void Main ()
25 World world = new World ();
26 world.Test (5);