Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0242.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 494e3b7d0a0c248705897096c04e9a97b0a4205b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// cs0242: operation is not defined for void *
// Line: 10
// Compiler options: -unsafe
using System;

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

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