summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0019-68.cs
blob: 74dac35fcac0fdf686c40ac15f6047fad0d430b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0019: Operator `==' cannot be applied to operands of type `void' and `null'
// Line: 11

using System;

class C
{
	public static void Main ()
	{
		Action a = () => {};
		bool b = a () == null;
	}
}