https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64670
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Tobias Burnus from comment #5) > Updated test case (part 1/2): [main file] compile with g++ -fsanitize=vptr In this test case you have > #pragma implementation "test.h" followed by > # 1 "test2.h" 1 > #pragma interface so the #pragma implementation doesn't match. If I change it to be "test2.h" I get the typeinfo for LogListener.