summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0458-3.cs
blob: ee41ef3017b302c3f4f5ee7ac64260df0e7deb90 (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: 8
// Compiler options: -warnaserror -warn:2

class C
{
	static void Main ()
	{
		int? i = 2;
		i *= null;
	}
}