$ cat a.h
$ cat linkdef.h
Goes >plink< in ROOT::TMetaUtils::WriteClassInit, b/c this:
in TClingUtils.cxx returns a null pointer when running:
The obvious workaround seems a nullptr check, and a continue if no CXXRecordDecl: the base has no meaning until instantiation.
However, then CloseStreamerInfoROOTFile gets antsy:
so the scanner should probably ignore it already in fSelectedClasses.