Test that inlining works when code preventing inlining is eliminated by DCE.