In complex sentences (in the principal clause) with the adverbial clause of condition or concession:
E.g. Would you have cut a deal with him had I not been willing to pay?
E.g. Our clients would not have been living in their car had they not been thrown out of their apartment. And they wouldn’t have died had they not been living in their car.