linux-packaging-mono/mcs/tests/test-anon-151.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

28 lines
277 B
C#

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++);
}
}