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: aa3c570aa26cf2c3360181aaa791e5aa11d74acd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0242: The operation in question is undefined on void pointers
// Line: 11
// Compiler options: -unsafe

using System;

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

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