https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69251
--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- The test case doesn't look valid. There's no way to initialize a B* from void (the result of the only operator<< in the program, even if it doesn't match the arguments it's called with. Maybe it got reduced too far?