summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b54667/b54667.cs
blob: fcc1556f25a8885c3e593bc007cabc3b0a54f20c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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;

    struct BB
    {
        bool m_b;
        static void Static1(BB param3, ref bool param5) { }
        static int Main()
        {
            Static1(new BB(), ref new BB[] { new BB() }[0].m_b);
            return 100;
        }
    }
}