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

22 lines
227 B
C#

// CS0135: `x' conflicts with a declaration in a child block
// Line: 18
public class Test
{
Test x;
void Foo ()
{
{
string x = "dd";
}
{
x = null;
}
x = new Test ();
}
public static void Main () { }
}