summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b16399/gtIsValid64RsltMul.cs
blob: 62f05f7ff36a94ca921fee4e2c673e48be3eeba1 (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
41
42
43
// 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.
//

using System;
public struct AA
{
    public static char[, , , ,][, ,] Static1(char param1, int param2, bool[,] param3,
        sbyte[,][][, , ,][,][] param4, ref  int param5, ref byte[,][, , ,] param6)
    {
        float local1 = 10.0f;
        short local2 = ((short)(47.0f));
        for (local1--; ((param2 * 117u) == ((long)(local2))); local2++) ;

        return (new char[99u, 88u, 97u, 120u, 72u][, ,]);
    }
}

public class App
{
    static int Main()
    {
        try
        {
            AA.Static1(
                '\x69',
                92,
                (new bool[49u, 76u]),
                (new sbyte[24u, ((uint)(51))][][,,,][,][]),
                ref App.m1,
                ref App.m2);
        }
        catch (Exception x)
        {
            Console.WriteLine("Exception handled: " + x.ToString());
        }
        Console.WriteLine("Passed.");
        return 100;
    }
    public static int m1;
    public static byte[,][, , ,] m2;
}