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>2009-04-28 21:04:57 +0400
committerMarek Safar <marek.safar@gmail.com>2009-04-28 21:04:57 +0400
commitdf837ac87cc16e33850c992a7bab89c8c1580fef (patch)
tree3127e0688158a2b8f96f769e838cafe4fd893b9d /mcs/tests/test-719.cs
parent0d7ae3a7c909763b6104a018a39bb80ead6529ca (diff)
New test.
svn path=/trunk/mcs/; revision=132862
Diffstat (limited to 'mcs/tests/test-719.cs')
-rw-r--r--mcs/tests/test-719.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/mcs/tests/test-719.cs b/mcs/tests/test-719.cs
new file mode 100644
index 00000000000..202346246a1
--- /dev/null
+++ b/mcs/tests/test-719.cs
@@ -0,0 +1,18 @@
+// Compiler options: -unsafe
+
+public unsafe struct A
+{
+ public B* pB;
+}
+
+public unsafe struct B
+{
+ public A* pA;
+}
+
+public class C
+{
+ public static void Main ()
+ {
+ }
+} \ No newline at end of file