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

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