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

class C
{
	public static void Main ()
	{
		int? k = 1;
		var x = k > null;
	}
}