Files
mono/mcs/errors/cs0136.cs
T
Martin Baulig a0d83c8960 New tests for anonymous methods.
svn path=/trunk/mcs/; revision=65424
2006-09-14 18:09:45 +00:00

14 lines
263 B
C#

// cs0136.cs: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `parent' scope to denote something else
// Line: 8
class X {
void b ()
{
int i;
{
string i;
}
}
}