"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / test-756.cs
blob72ae2a9da9123d4f39fe400073130940099eacc0
1 // Compiler options: -unsafe
3 using System;
4 using System.Runtime.InteropServices;
6 class UnsafeTest
8 [StructLayout (LayoutKind.Sequential)]
9 public unsafe struct Foo
11 public Bar* bar;
14 [StructLayout (LayoutKind.Sequential)]
15 public struct Bar
17 public Foo foo;
20 unsafe public static void Main ()
22 Console.WriteLine (sizeof (Foo));