blob: d8334ed429308da18a72c7f0f70c5b558e5f6fe8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// cs0242.cs: The array index operation is not valid on void pointers
// Line: 10
// Compiler options: -unsafe
using System;
unsafe class ZZ {
static void Main () {
void *p = null;
if (p [10] == 4)
return;
}
}
|