2007-10-17 Jonathan Pobst <monkey@jpobst.com>
[mono.git] / mcs / errors / cs0135-3.cs
1 // cs0135.cs: `i' conflicts with a declaration in a child block
2 // Line: 9
3
4 delegate int F (int i);
5 class Foo {
6         static int i;
7         static void Main ()
8         {
9                 i = 0;
10                 F f = delegate (int i) { return i; };
11         }
12 }