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

using Xunit;
namespace DefaultNamespace
{
    using System;

    public class BB
    {
        [Fact]
        public static void TestEntryPoint()
        {
            int i = 10;
            bool f = false;
            while (f)
                GC.Collect();
            while (f)
                while (i > 39)
                    while (f)
                        GC.Collect();
        }
    }
}
/*
---------------------------
Assert Failure (PID 948, Thread 628/274)        
---------------------------
Assertion failed 'block->bbWeight == bNext->bbWeight' in 'DefaultNamespace.BB.Main()'


..\flowgraph.cpp, Line: 10492

Abort - Kill program
Retry - Debug
Ignore - Keep running


Image:
D:\bugs\loop.exe

---------------------------
Abort   Retry   Ignore   
---------------------------
*/
