[clang] Assertion `DD && "queried property of class with no definition"' failed. Crash at HasAccess(clang::Sema&, (anonymous namespace)::EffectiveContext const&, clang::CXXRecordDecl const*, clang::AccessSpecifier, (anonymous namespace)::AccessTarget const&) #115308
This testcase is generated by a fuzzer.
Compiler Explorer: https://godbolt.org/z/a4o6eoPb6
This invalid code will crash on both Clang Trunk and Clang Assertion Trunk.
It seems that this goes back to clang-3(or earlier).
Stack dump: