summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0472-4.cs
blob: 9c99b3a446dcf9674e40961b5db21a2b37e57111 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0472: The result of comparing value type `long' with null is always `false'
// Line: 9
// Compiler options: -warnaserror -warn:2

class C
{
	public static void Main ()
	{
		System.Console.WriteLine(5 == (long?)null);
	}
}