summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0196.cs
blob: db8011a88565fda2a4ce9cc789c760cbed5553b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0196: A pointer must be indexed by only one value
// Line: 10
// Compiler options: -unsafe
using System;

unsafe class ZZ {
	static void Main () {
		int *p = null;

		if (p [10,4] == 4)
			return;
	}
}