linux-packaging-mono/mcs/tests/gtest-fixedbuffer-04.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

16 lines
203 B
C#

// 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;
}
}