Merge pull request #4926 from BrzVlad/fix-tls-v5
[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;