summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0242-2.cs
blob: e865cc1f1de1b890a432950505aaec5b2baa9253 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0242: The operation in question is undefined on void pointers
// Line: 10
// Compiler options: -unsafe

unsafe class C
{
	public static void Main ()
    {
		void* v = null;
		int b = *v is string;
    }
}