cleol
[mcs.git] / tests / gtest-354.cs
blob5cb5678708493165eaf52c81d4a9a4291aa54d1b
1 // Compiler options: -unsafe
3 using System.Runtime.InteropServices;
5 public unsafe struct A
7 fixed byte fileid [DbConst.DB_FILE_ID_LEN];
10 public static class DbConst
12 public const int DB_FILE_ID_LEN = 20;
15 [StructLayout(LayoutKind.Sequential, Size=92)]
16 internal unsafe struct hci_dev_info {
17 public fixed sbyte name[8];
18 private fixed byte bdaddr[6];
19 hci_dev_info* foo;
22 class M
24 public static void Main ()