2 // Check that the empty field we produce on empty structs with LayoutKind.Explicit
3 // has a FieldOffset of zero, or the .NET runtime complains
6 using System.Reflection;
7 using System.Runtime.InteropServices;
9 [StructLayout(LayoutKind.Explicit)]
15 public static int Main ()
19 // On .NET if we got this far, we run
21 Console.WriteLine ("PASS: Test passes on Mono");