summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0029-6.cs
blob: aaeca67ac89c621b854e362afeccdbaa8544cb45 (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 = (T) null;
	}
}