If a class is declared using the same name as the ancestor class, the IDE will abort when a build is performed. There is no error message.
For example -
TLabel = class(TLabel)
end;
It would be unusual for someone to try this but it can come up accidentally when setting the Name property for components. (e.g. setting the Name for a TDatabase to 'Database')