Closed
Description
Bugzilla Link | 4656 |
Resolution | FIXED |
Resolved on | Feb 22, 2010 12:48 |
Version | unspecified |
OS | Linux |
CC | @DougGregor |
Extended Description
Testcase:
struct A { ~A(); };
template struct B {};
template <> struct B : private A {};
B foo;
Crashes with the following assertion:
clang-cc: /home/eli/llvm/tools/clang/lib/AST/DeclarationName.cpp:306: clang::DeclarationName clang::DeclarationNameTable::getCXXSpecialName(clang::DeclarationName::NameKind, clang::QualType): Assertion `Ty->isCanonical() && "Can only build C++ special names from canonical types"' failed.