Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2004-05-05 15:06:41 +0400
committerRaja R Harinath <harinath@hurrynot.org>2004-05-05 15:06:41 +0400
commit9d7ffb37f513654faccff591431a2427f8018fce (patch)
tree69cff05ca86811c15a5b14f775cc5cbcc47fc444 /mcs/errors/cs0625.cs
parentb92d0b7e634faaf054aa6f8a15d1227615c54b5e (diff)
testcases for bug 57151
svn path=/trunk/mcs/; revision=26751
Diffstat (limited to 'mcs/errors/cs0625.cs')
-rw-r--r--mcs/errors/cs0625.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs0625.cs b/mcs/errors/cs0625.cs
new file mode 100644
index 00000000000..15579247ca7
--- /dev/null
+++ b/mcs/errors/cs0625.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Runtime.InteropServices;
+
+namespace cs0625 {
+ [StructLayout(LayoutKind.Explicit)]
+ struct GValue {
+ public string name;
+ [ FieldOffset (4) ] public int value;
+ }
+
+ class Tests {
+ public static void Main () {
+ }
+ }
+}