add monotouch sources file
[mcs.git] / errors / cs0625-3.cs
blob72bb69edbd3b23ef82f244dd573b7393169e17f0
1 // cs0625-3.cs: `cs0625.GValue.value': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute
2 // Line: 10
4 using System;
5 using System.Runtime.InteropServices;
7 namespace cs0625 {
8 [StructLayout (LayoutKind.Explicit)]
9 partial struct GValue
13 partial struct GValue {
14 public int value;
17 class Tests {
18 public static void Main () {