summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0464-2.cs
blob: 4009b38a33221434285df4e510faae5a130f9581 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0464: The result of comparing type `int?' with null is always `false'
// Line: 9
// Compiler options: -warnaserror -warn:2

public class X
{
	public static bool Compute (int? x)
	{
		return x >= null;
	}
}