Regression test for optimizing, checking that there is no
intermediate address between a Java call.