2010-05-25 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0242.cs
blobaa3c570aa26cf2c3360181aaa791e5aa11d74acd
1 // CS0242: The operation in question is undefined on void pointers
2 // Line: 11
3 // Compiler options: -unsafe
5 using System;
7 unsafe class ZZ {
8 static void Main () {
9 void *p = null;
11 if (p [10] == 4)
12 return;