H1B Amendment +extension rfe

I have applied for amendment for B location and recently i have submitted for extension for same location ,same client.My h1b validity till June 15 2019.If my amendment got rejected and extension is in RFE pending state ,then can i stay in same location after June 15th?(I.e until i get extension response)

On which date you have filed Amendment and on which date did you file extension?

i have filed amendment rfe regular on april 2nd and extension filed on April 23rd premium and got rfe.So if amendment got rejected and extension is in RFE pending state ,then can i stay in same location after June 15th?(I.e until i get extension response)

If this is the same date on your current I-94, you will be fine. If I-94 expiration date is before April 2nd and your amendment is rejected, there will be a problem of out of status.