Regression test for optimizing. Inlining of method with infinite loop cause a crash.