Reenable AOT, it wasn't enabled on the x86 buildbot anyway.
[mcs.git] / tests / test-anon-44.cs
blob8963a063715989f34a2deb3e1083bd0be2f5a076
1 using System;
3 delegate void Simple ();
5 delegate Simple Foo ();
7 class X
9 public void Hello (long k)
10 { }
12 public void Test (int i)
14 Hello (3);
15 Foo foo = delegate {
16 int a = i;
17 Hello (4);
18 return delegate {
19 int b = a;
20 Hello (5);
23 Foo bar = delegate {
24 int c = i;
25 Hello (6);
26 return delegate {
27 int d = i;
28 Hello (7);
31 Simple simple = foo ();
32 simple ();
35 static void Main ()
37 X x = new X ();
38 x.Test (3);