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:
authorMarek Safar <marek.safar@gmail.com>2008-03-07 14:29:01 +0300
committerMarek Safar <marek.safar@gmail.com>2008-03-07 14:29:01 +0300
commitdf4276338409c92fc7109acfaa82d12f83021f99 (patch)
tree6384c13438a11c33ecb6792d518a643bc0adaec1 /mcs/tests/gtest-374.cs
parentac3a7f2496a5ba38f61a7d3d20dd3a30129ce98a (diff)
parent1f18adb5c4ed1e53f8e9572ea6434dabb8b40753 (diff)
New test + update.
svn path=/trunk/mcs/; revision=97678
Diffstat (limited to 'mcs/tests/gtest-374.cs')
-rw-r--r--mcs/tests/gtest-374.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/gtest-374.cs b/mcs/tests/gtest-374.cs
new file mode 100644
index 00000000000..e0243174b99
--- /dev/null
+++ b/mcs/tests/gtest-374.cs
@@ -0,0 +1,15 @@
+// Compiler options: -unsafe
+
+public class aClass
+{
+ public unsafe struct foo_t
+ {
+ public fixed char b[16];
+ }
+
+ public static unsafe void Main(string[] args)
+ {
+ foo_t bar;
+ char* oo = bar.b;
+ }
+}