Add failing test for inheritance compile checking