summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0029-24.cs
blob: 4cd79a453e8d32525cc9a3efeb1a39c01336693a (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 int Main ()
	{
		int *a = default(T);
	}
}