summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0625-3.cs
blob: d84346b6f12ac98cbe7afee4f1b3128d60a9528c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// CS0625: `CS0625.GValue.value': Instance field types marked with StructLayout(LayoutKind.Explicit) must have a FieldOffset attribute
// Line: 10

using System;
using System.Runtime.InteropServices;

namespace CS0625 {
	[StructLayout (LayoutKind.Explicit)]
	partial struct GValue
	{
	}
	
	partial struct GValue {
		public int value;
	}
	
	class Tests {
		public static void Main () {
		}
	}
}