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>2005-05-12 19:04:48 +0400
committerRaja R Harinath <harinath@hurrynot.org>2005-05-12 19:04:48 +0400
commitbe61bd70387590f09ddafd4175b2259a64bd8ff6 (patch)
treeb89c3ecdbc823eb5f917804ceb946f7bca1172ce /mcs/tests/test-378.cs
parent63cf88aa8b35a0d467e9f482de1a35c6f78556e8 (diff)
In mcs:
Fix #74920. * typemanager.cs (unmanaged_enclosing_types): New. (IsUnmanagedType): Avoid infloops by using 'unmanaged_enclosing_types' to talk with recursive invocations. In tests: * test-378.cs: New test from #74920. svn path=/trunk/mcs/; revision=44446
Diffstat (limited to 'mcs/tests/test-378.cs')
-rw-r--r--mcs/tests/test-378.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/mcs/tests/test-378.cs b/mcs/tests/test-378.cs
new file mode 100644
index 00000000000..7675dd361e9
--- /dev/null
+++ b/mcs/tests/test-378.cs
@@ -0,0 +1,8 @@
+// Compiler options: -t:library -unsafe
+
+public unsafe struct Foo
+{
+ public Foo *foo;
+}
+
+