New test.
[mono.git] / mcs / errors / cs0625-3.cs
1 // cs0625-3.cs: `cs0625.GValue.value': 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 struct GValue\r
10         {\r
11         }\r
12         \r
13         partial struct GValue {\r
14                 public int value;\r
15         }\r
16         \r
17         class Tests {\r
18                 public static void Main () {\r
19                 }\r
20         }\r
21 }\r