2010-01-04 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / tests / bug-331958.cs
blob6e7310539ac9f2967944a97188f3c80482b6a39e
1 class Program
3 static int Main ()
5 X18 x18 = new X18 ();
6 x18.x1 = new X17 ();
7 x18.x2 = new X17 ();
8 if (x18.GetType () != typeof (X18))
9 return 1;
11 return 0;
16 struct X0 { public byte b; }
17 struct X1 { public X0 x1; public X0 x2; }
18 struct X2 { public X1 x1; public X1 x2; }
19 struct X3 { public X2 x1; public X2 x2; }
20 struct X4 { public X3 x1; public X3 x2; }
21 struct X5 { public X4 x1; public X4 x2; }
22 struct X6 { public X5 x1; public X5 x2; }
23 struct X7 { public X6 x1; public X6 x2; }
24 struct X8 { public X7 x1; public X7 x2; }
25 struct X9 { public X8 x1; public X8 x2; }
26 struct X10 { public X9 x1; public X9 x2; }
27 struct X11 { public X10 x1; public X10 x2; }
28 struct X12 { public X11 x1; public X11 x2; }
29 struct X13 { public X12 x1; public X12 x2; }
30 struct X14 { public X13 x1; public X13 x2; }
31 struct X15 { public X14 x1; public X14 x2; }
32 struct X16 { public X15 x1; public X15 x2; }
33 struct X17 { public X16 x1; public X16 x2; }
34 struct X18 { public X17 x1; public X17 x2; }