summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1660-2.cs
blob: 82a819b1078e269e8c4617ca1398fbb2266a9a5c (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS1660: Cannot convert `anonymous method' to non-delegate type `int'
// Line: 9

using System;

class X {
	static void Main ()
	{
		int o = delegate {};
	}
}