5 public static IntPtr
to_intptr (int value)
7 return new IntPtr (value);
10 unsafe public static int Main () {
14 IntPtr a
= to_intptr (1);
19 if (sizeof (void*) != sizeof(IntPtr
))
23 if (sizeof (byte*) != sizeof (void *))
27 if (sizeof (int*) != sizeof (int *))
31 if (sizeof (IntPtr
) != 4 && sizeof (IntPtr
) != 8)