summaryrefslogtreecommitdiff
path: root/tests/src/JIT/jit64/gc/misc/struct6.cs
blob: f6ba8d19275c015beedeb52cec43c3534345e987 (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
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//

using System;

struct S
{
    public String str;
}

class Test
{
    public static void c(S s1, S s2, S s3, S s4, S s5)
    {
        Console.WriteLine(s1.str + s2.str + s3.str + s4.str + s5.str);
    }

    public static int Main()
    {
        S sM1, sM2, sM3, sM4, sM5;

        sM1.str = "test";
        sM2.str = "test2";
        sM3.str = "test3";
        sM4.str = "test4";
        sM5.str = "test5";
        c(sM1, sM2, sM3, sM4, sM5);
        return 100;
    }
}