Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / tests / test-anon-46.cs
1 using System;
2
3 public delegate void Foo ();
4
5 public class World
6 {
7         public void Hello (long a)
8         { }
9
10         public void Test (int t)
11         {
12                 Hello (t);
13                 int u = 2 * t;
14                 Foo foo = delegate {
15                         Hello (u);
16                 };
17                 foo ();
18         }
19 }
20
21 class X
22 {
23         public static void Main ()
24         {
25                 World world = new World ();
26                 world.Test (5);
27         }
28 }