summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-fixedbuffer-04.cs
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;
	}
}