Then it would be taxed under inheritance tax (at the full value of the property - not just the gains).
Edit - I’m wrong, I am uk based - just read up on US, wild that you can inherit a house that’s gone up in value massively then sell it and experience no gains or inheritance tax.