Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0196.cs
blobdb8011a88565fda2a4ce9cc789c760cbed5553b0
1 // CS0196: A pointer must be indexed by only one 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;