"If he had had to ..." - is it correct in the following sentence?
When we talk about possible imaginary situation, we say:
"If I had to pass an exam, I wouldn't go to the party the night befor".
But when we talk about the past, with the verb "have" = "to be obliged", how do we say? Is the following sentence correct:
"If I had had to pass an exam yesterday, I wouldn't have gone to the party the day before yesterday". (But I didn't have to pass any exam, so I went to the party).
Double "had" sounds a bit strange, so if it is correct, do you say so in real speeking?
Thanks)