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

test-670.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cbed4ac6ddbd4c9297784446eb6ca62c177ed32a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Compiler options: -unsafe

using System;

unsafe class C
{
	public static void Main ()
	{
		int x = 5;
		int* a = &(*(x + (int*)null));
		int* b = &(*(x + (int*)1));
	}
}