https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110836
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Some classes are supposed to be impossible to create, e.g. the monostate pattern where the class has static members and the whole API is in terms of static members functions. If you don't notice a class cannot be created until users compile your library then you are missing some tests for that class. Why do you have a class that has never been tested even once?