summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0037-7.cs
blob: b9ee407d650adcf93cb1d7e51fea4f3abbcb0deb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0037: Cannot convert null to `char' because it is a value type
// Line: 12

class C
{
	static void Test ()
	{
		char c = 'c';
		switch (c)
		{
			case 'a': 
				goto case null;
		}
	}
}