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

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

struct Foo
{
	public int i;
}

public unsafe class test
{
	static Foo* pFoo;

	public static void Main ()
	{
		int* pi = &pFoo->i;
	}
}