31 // has `this' initializer, no need to initialize fields.
62 static void test_output (A x
)
65 static void test_output (B y
)
68 static void test_output (E e
)
71 static void test_output (F f
)
79 Console
.WriteLine (x
.a
);
87 Console
.WriteLine (y
.a
);
88 Console
.WriteLine (y
);
95 Console
.WriteLine (x
);
98 static void test4 (A x
)
103 static void test5 (out A x
)
108 static void test6 (out B y
)
135 Console
.WriteLine (e
.d
.foo
);
138 static void test10 ()
142 Console
.WriteLine (f
.e
.d
.foo
);
143 Console
.WriteLine (f
.e
.d
);
145 Console
.WriteLine (f
);
148 public static int Main ()
150 // Compilation-only test.