summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0029-18.cs
blob: 92f2b0f382071813fd96c261896abefc5b3d8c21 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0029: Cannot implicitly convert type `T' to `int*'
// Line: 8
// Compiler options: -unsafe

class T
{
	static unsafe void Main ()
	{
		int* a = default (T);
	}
}