summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/CLR-x86-JIT/V1-M09.5-PDC/b31748/b31748.cs
blob: 31e810feb6abd7964e1dc2963e4399ed3f7cf7a2 (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
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//

namespace Test
{
    using System;

    class AA
    {
        public static int[] m_anStatic4 = new int[7];

        public static void Static1(object[] param1, ref bool param2)
        {
            float local8 = 0.0f;
            AA[] local9 = new AA[7];
            while (param2)
            {
#pragma warning disable 1717
                param1 = param1;
#pragma warning restore 1717
                do
                {
                    m_anStatic4[0] = m_anStatic4[2] - 50;
#pragma warning disable 1718
                } while (local8 > local8);
#pragma warning restore 1718
                do
                {
                } while ((uint)param1[2] < 0);
            }
        }
        static int Main()
        {
            bool b = false;
            Static1(null, ref b);
            return 100;
        }
    }
}