// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
//

using Xunit;
namespace Bug
{
    using System;

    public class DD
    {
        public double[] m_field1;
        public static DD[] m_static3 = new DD[2];

        public double[] Method2()
        {
            return new double[5];
        }

        [Fact]
        public static void TestEntryPoint()
        {
            m_static3[0] = new DD();
            m_static3[0].m_field1 = m_static3[0].Method2();
        }
    }
}
