* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / gtest-anon-51.cs
blob09c6d122e3ae6f39acbf7fa94fdf1cf05ea485b0
1 using System;
3 public delegate void Bla ();
5 public class Driver
7 static int Main ()
9 new Driver().Repro ();
10 return 0;
13 void P (int a, int b) {}
15 void Repro ()
17 int a = -1;
18 int b = 10;
20 P (b, a++);
22 Bla c = () => P(b, ++a);
24 P (b, a++);