[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / test-anon-40.cs
blobe71224363709dfc9fa0151086f9b5ff45dab4be4
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 long j = 1 << i;
15 Hello (j);
16 Foo foo = delegate {
17 Hello (j);
18 return delegate {
19 Hello (j);
22 Simple simple = foo ();
23 simple ();
26 public static void Main ()
28 X x = new X ();
29 x.Test (3);