summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0458-16.cs
blob: f43cea277af115012d4fb35043937c9f93f07572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0458: The result of the expression is always `null' of type `int?'
// Line: 9
// Compiler options: -warnaserror -warn:2

public class C
{
	public static void Main ()
	{
		int? s = null;
		int? v = s + null;
	}
}