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

using System;

class X
{
	public static void Main ()
	{
		int i = 0;
		var x = i == default (byte?);
	}
}