[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / test-interpolation-07.cs
blob81a8246505923d1159aee082e829da218e3c8fbf
1 using System;
3 class CloningTests
5 static Action a;
7 static void Do (Action cb)
9 cb ();
12 static void SetupBAD ()
14 int number = 0;
15 Do(() => {
16 a = () => Console.WriteLine ($"Number: {++number}");
17 });
20 static void Main ()
22 SetupBAD ();
23 a ();