**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs0196.cs
blob04c158b0e86be7d8cf99dbedfdb3a7bb1b9ce729
1 // cs0196.cs: pointers must be indexed by a single value
2 // line: 10
3 // Compiler options: -unsafe
4 using System;
6 unsafe class ZZ {
7 static void Main () {
8 int *p = null;
10 if (p [10,4] == 4)
11 return;