Merge pull request #5560 from kumpera/wasm-work-p3
[mono.git] / mcs / tests / test-250.cs
1 // test for bug #57151
2
3 using System;
4 using System.Runtime.InteropServices;
5
6 namespace Test {
7         [StructLayout(LayoutKind.Explicit)]
8         struct foo1 {
9                 public static int foo;
10         }
11         
12         [StructLayout(LayoutKind.Explicit)]
13         struct foo2 {
14                 public static int foo;
15                 [FieldOffset(0)] public int value;
16         }
17         
18         [StructLayout(LayoutKind.Explicit)]
19         class foo3 {
20                 public static int foo;
21                 [FieldOffset(0)] public int value;
22         }
23         
24         class Tests {
25                 public static void Main () {
26                 }
27         }
28 }