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

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

public class aClass
{
	public unsafe struct foo_t
	{
		public fixed char b[16];
	}
	
	public static unsafe void Main(string[] args)
	{
		foo_t bar;
		char* oo = bar.b;
	}
}