summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0649-2.cs
blob: d27e1d85033fcfa8c9f52a247f367c05a09515a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0649: Field `C.s' is never assigned to, and will always have its default value `null'
// Line: 7
// Compiler options: -warnaserror -warn:4

class C
{
	int? s;
	
	void Test ()
	{
		System.Console.WriteLine (s == null);
	}
}