summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0037-5.cs
blob: 64153c19cbf2de929dacf195cd00174df81207d6 (plain)
1
2
3
4
5
6
7
8
// CS0037: Cannot convert null to `int' because it is a value type
// Line: 6

class C
{
	object [,] i = new int [2,1] { { null }, { 2 } };
}