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-10-01 15:06:26 +0400
committerMarek Safar <marek.safar@gmail.com>2008-10-01 15:06:26 +0400
commit33028b1a2c0d0345efc3639f3b33d74dc96daf62 (patch)
treee71f9f0a298ae485cbe43fcb760611cbd032547e /mcs/tests/gtest-417.cs
parent93d04fc148f09e4b71f9e6bf8b090b6119311d80 (diff)
parent902af77eaa5beaf3797d85fd4cfbe351a883835d (diff)
New tests, updates.
svn path=/trunk/mcs/; revision=114555
Diffstat (limited to 'mcs/tests/gtest-417.cs')
-rw-r--r--mcs/tests/gtest-417.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/tests/gtest-417.cs b/mcs/tests/gtest-417.cs
new file mode 100644
index 00000000000..289e7002dab
--- /dev/null
+++ b/mcs/tests/gtest-417.cs
@@ -0,0 +1,16 @@
+// Compiler options: -unsafe
+
+public unsafe struct B {
+ private fixed int a[5];
+}
+
+public unsafe class C {
+ private B x;
+
+ public void Goo() {
+ fixed(B* y=&x) {
+ }
+ }
+
+ public static void Main () {}
+}