New test.
[mono.git] / mcs / errors / cs0625-2.cs
1 // cs0625-2.cs: `cs0625.GValue.foo': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute\r
2 // Line: 10\r
3 \r
4 using System;\r
5 using System.Runtime.InteropServices;\r
6 \r
7 namespace cs0625 {\r
8         [StructLayout(LayoutKind.Explicit)]\r
9         partial class GValue {\r
10                 public int foo;\r
11         }\r
12         \r
13         class Tests {\r
14                 public static void Main () {\r
15                 }\r
16         }\r
17 }\r