summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1959.cs
blob: afc0b71db686634ffbde8f1af6efd824411478d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS1959: Type parameter `T' cannot be declared const
// Line: 10

class C
{
}

class C<T> where T : C
{
	const T t = null;
}