// 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 System.Runtime.CompilerServices;
using Xunit;

// Generated by Fuzzlyn v1.2 on 2021-07-07 08:13:57
// Seed: 11738605779775786426
// Reduced from 155.0 KiB to 0.5 KiB in 00:30:58
// 
// Assertion failed 'i < BitSetTraits::GetSize(env)' 
//  in 'Runtime_56495:Main()' during 'Compute blocks reachability' (IL size 41)
//
public class Runtime_56495
{
    static bool s_1;

    [MethodImpl(MethodImplOptions.NoInlining)]
    static bool Eval(ulong b) => b == 100;

    [Fact]
    public static int TestEntryPoint()
    {
        ulong vr1 = 100;
        for (int vr2 = 0; vr2 < 0; vr2++)
        {
            if (s_1)
            {
                try
                {
                }
                finally
                {
                    vr1 = vr1;
                }
            }
            else
            {
                if (s_1)
                {
                    bool vr3 = s_1;
                }
            }
        }

        bool result = Eval(vr1);
        return result ? 100 : -1;
    }
}
