linux-packaging-mono/mcs/tests/gtest-initialize-08.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

43 lines
392 B
C#

using System;
using System.Collections.Generic;
class T
{
public X[] x;
}
class X
{
public Z[] Prop { get; set; }
}
class Z
{
}
class Test
{
T t = new T () { x = new X [] {
new X () {
Prop = new Z[] { new Z (), new Z () }
}
}};
public Test (string s)
{
}
public Test (int i)
{
}
}
public class C
{
public static int Main ()
{
new Test ("2");
return 0;
}
}