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

class C
{
	static void Foo()
	{
		var res = null << 2;
	}
}