summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0266-8.cs
blob: cfb7799ee52e74078e5a3549757338c436c03cec (plain)
1
2
3
4
5
6
7
8
9
// CS0266: Cannot implicitly convert type `void*' to `int*'. An explicit conversion exists (are you missing a cast?)
// Line: 7
// Compiler options: -unsafe

unsafe class MainClass {
	static void *pv = null;
	static int *pi = pv;
        public static void Main () { }
}