Remove trailing empty lines
[mono.git] / mcs / errors / cs0625.cs
1 // CS0625: Instance field of type marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute.
2
3 using System;
4 using System.Runtime.InteropServices;
5
6 namespace cs0625 {
7         [StructLayout(LayoutKind.Explicit)]
8         struct GValue {
9                 public string name;
10                 [ FieldOffset (4) ] public int value;
11         }
12         
13         class Tests {
14                 public static void Main () {
15                 }
16         }
17 }