summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0815-4.cs
blob: b58bd2b2e7a706f1230dcff4948f149408adc1ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0815: An implicitly typed local variable declaration cannot be initialized with `anonymous method'
// Line: 9


public class Test
{
	static void Main ()
	{
		var d = delegate {};
	}
}