[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / tests / test-756.cs
1 // Compiler options: -unsafe
2
3 using System;
4 using System.Runtime.InteropServices;
5
6 class UnsafeTest
7 {
8         [StructLayout (LayoutKind.Sequential)]
9         public unsafe struct Foo
10         {
11                 public Bar* bar;
12         }
13
14         [StructLayout (LayoutKind.Sequential)]
15         public struct Bar
16         {
17                 public Foo foo;
18         }
19
20         unsafe public static void Main ()
21         {
22                 Console.WriteLine (sizeof (Foo));
23         }
24 }