summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/CLR-x86-JIT/V1-M11-Beta1/b45015/b45015.cs
blob: 9c88de773c92c6280a95eb6f66468097a2b88ed9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//

namespace Test
{
    using System;

    class App
    {
        private static double[] m_ad = new double[2];
        private static uint m_u;

        public static double Static1()
        {
            float loc = -49.75f;
            return unchecked(m_ad[0] - (double)m_u * (m_ad[1] - loc));
        }

        static int Main()
        {
            Static1();
            return 100;
        }
    }
}