Merge pull request #15293 from lewing/wasm-clean
[mono-project.git] / mcs / tests / test-anon-151.cs
blobe9a049412bfce03c457aadbf1762271295fd6ce6
1 using System;
3 public delegate void Bla ();
5 public class Driver
7 public 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++);