Regression test for partial escape elimination, which used to crash when visiting an infinite loop.