https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80469
--- Comment #3 from Ubikovich <theubik at mail dot ru> ---
>> You need to provide the definition of dothis() somewhere.
There is the definition:
// subimpl.cpp
#include "subimpl.h"
void A::dothis() {}
