[runtime] Fix DISABLE_REFLECTION_EMIT build.
[mono.git] / mcs / tests / test-anon-151.cs
1 using System;
2
3 public delegate void Bla ();
4
5 public class Driver
6 {
7         public static int Main ()
8         {
9                 new Driver().Repro ();
10                 return 0;
11         }
12
13         void P (int a, int b) {}
14
15         void Repro ()
16         { 
17                 int a = -1;
18                 int b = 10;
19
20                 P (b, a++);
21
22                 Bla c = () => P(b, ++a); 
23
24                 P (b, a++);
25         }
26
27 }