Test that e matched declaration cache handles explicitly inherited properties correctly.