Permalink
Browse files

* bug-331958.cs: added.

* Makefile.am: added bug-331958.cs.

svn path=/trunk/mono/; revision=87628
  • Loading branch information...
1 parent f3a1e77 commit de534d3efd44993fcc9111aef8ab61ae235b183f Gert Driesen committed Oct 17, 2007
Showing with 40 additions and 0 deletions.
  1. +5 −0 mono/tests/ChangeLog
  2. +1 −0 mono/tests/Makefile.am
  3. +34 −0 mono/tests/bug-331958.cs
View
5 mono/tests/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-17 Gert Driesen <drieseng@users.sourceforge.net>
+
+ * bug-331958.cs: added.
+ * Makefile.am: added bug-331958.cs.
+
2007-10-16 Mark Probst <mark.probst@gmail.com>
* bug-333798.2.cs: added
View
1 mono/tests/Makefile.am
@@ -214,6 +214,7 @@ TEST_CS_SRC= \
bug-78653.cs \
bug-78656.cs \
bug-77127.cs \
+ bug-331958.cs \
interlocked.cs \
cross-domain.cs \
appdomain-exit.cs \
View
34 mono/tests/bug-331958.cs
@@ -0,0 +1,34 @@
+class Program
+{
+ static int Main ()
+ {
+ X18 x18 = new X18 ();
+ x18.x1 = new X17 ();
+ x18.x2 = new X17 ();
+ if (x18.GetType () != typeof (X18))
+ return 1;
+
+ return 0;
+ }
+}
+
+
+struct X0 { public byte b; }
+struct X1 { public X0 x1; public X0 x2; }
+struct X2 { public X1 x1; public X1 x2; }
+struct X3 { public X2 x1; public X2 x2; }
+struct X4 { public X3 x1; public X3 x2; }
+struct X5 { public X4 x1; public X4 x2; }
+struct X6 { public X5 x1; public X5 x2; }
+struct X7 { public X6 x1; public X6 x2; }
+struct X8 { public X7 x1; public X7 x2; }
+struct X9 { public X8 x1; public X8 x2; }
+struct X10 { public X9 x1; public X9 x2; }
+struct X11 { public X10 x1; public X10 x2; }
+struct X12 { public X11 x1; public X11 x2; }
+struct X13 { public X12 x1; public X12 x2; }
+struct X14 { public X13 x1; public X13 x2; }
+struct X15 { public X14 x1; public X14 x2; }
+struct X16 { public X15 x1; public X15 x2; }
+struct X17 { public X16 x1; public X16 x2; }
+struct X18 { public X17 x1; public X17 x2; }

0 comments on commit de534d3

Please sign in to comment.