blob: 04c158b0e86be7d8cf99dbedfdb3a7bb1b9ce729 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// cs0196.cs: pointers must be indexed by a single value
// line: 10
// Compiler options: -unsafe
using System;
unsafe class ZZ {
static void Main () {
int *p = null;
if (p [10,4] == 4)
return;
}
}
|