Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

13 lines
202 B
C#

// CS0135: `i' conflicts with a declaration in a child block
// Line: 9
delegate int F (int i);
class Foo {
static int i;
static void Main ()
{
i = 0;
F f = delegate (int i) { return i; };
}
}