// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;
using Xunit;

public class Test_alloca3
{
    private static int s_x = 25;

    [Fact]
    public static unsafe void TestEntryPoint()
    {
        int* px = stackalloc int[s_x];

        String s1 = "<s1>";
        String s2 = "<s2>";
        String s3 = s1 + s2;
        String s4 = foo(s3);

        s4 = s1 + s2 + s3 + s4;
    }

    public static String foo(String s3)
    {
        return s3 + s3;
    }
}
