diff options
author | Miguel de Icaza <miguel@gnome.org> | 2001-12-13 02:20:55 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2001-12-13 02:20:55 +0300 |
commit | 13118210953ca87875e44ceb9ca6353bb505a363 (patch) | |
tree | b64a5664618e48fcb63a853b4d4478075accbeee /mcs/errors/bug3.cs | |
parent | 5caa0bd00fda4c3a82afd303b8d5fce1ba131f1d (diff) |
Add error cs0121
svn path=/trunk/mcs/; revision=1562
Diffstat (limited to 'mcs/errors/bug3.cs')
-rwxr-xr-x | mcs/errors/bug3.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/bug3.cs b/mcs/errors/bug3.cs new file mode 100755 index 00000000000..711b79c4b2e --- /dev/null +++ b/mcs/errors/bug3.cs @@ -0,0 +1,16 @@ +using System.Runtime.InteropServices; + +[StructLayout (LayoutKind.Explicit)] +struct A { + [FieldOffset (0)] + public int a; + [FieldOffset (4)] + public int b; +} + +class X { + static void Main () + { + } +} + |