[runtime] Avoid indirection when building MonoContext on darwin
[mono.git] / mcs / tests / gtest-initialize-08.cs
1 using System;
2 using System.Collections.Generic;
3
4 class T
5 {
6         public X[] x;
7 }
8
9 class X
10 {
11         public Z[] Prop { get; set; }
12 }
13
14 class Z
15 {
16 }
17
18 class Test
19 {
20         T t = new T () { x = new X [] { 
21                 new X () {
22                         Prop = new Z[] { new Z (), new Z () }
23                 }
24         }};
25         
26         public Test (string s)
27         {
28         }
29         
30         public Test (int i)
31         {
32         }
33 }
34
35 public class C
36 {
37         public static int Main ()
38         {               
39                 new Test ("2");
40                 return 0;
41         }
42 }