linux-packaging-mono/mcs/tests/test-anon-151.cs

28 lines
277 B
C#
Raw Normal View History

using System;
public delegate void Bla ();
public class Driver
{
public static int Main ()
{
new Driver().Repro ();
return 0;
}
void P (int a, int b) {}
void Repro ()
{
int a = -1;
int b = 10;
P (b, a++);
Bla c = () => P(b, ++a);
P (b, a++);
}
}