summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0136-16.cs
blob: cc28afe7b2ed709a67e2e55dd8b4b6a46ca93e79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0136: A local variable named `v' cannot be declared in this scope because it would give a different meaning to `v', which is already used in a `parent or current' scope to denote something else
// Line: 13

using System.Linq;

public class Test
{
	public static void Main ()
	{
		var l = from v in "abcd" select (v => v);
	}
}