[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / test-250.cs
blob5b524fcee65132b1463827a74da7a5c405ee86be
1 // test for bug #57151
3 using System;
4 using System.Runtime.InteropServices;
6 namespace Test {
7 [StructLayout(LayoutKind.Explicit)]
8 struct foo1 {
9 public static int foo;
12 [StructLayout(LayoutKind.Explicit)]
13 struct foo2 {
14 public static int foo;
15 [FieldOffset(0)] public int value;
18 [StructLayout(LayoutKind.Explicit)]
19 class foo3 {
20 public static int foo;
21 [FieldOffset(0)] public int value;
24 class Tests {
25 public static void Main () {