summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0458-12.cs
blob: fbc17fac4193f696e1222b8403b7c5032dcf61a2 (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;
	}
}