You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
objtype-scope-coexist.cpp:1:19: error: '~' in destructor name should be after nested name specifier
struct A {} a { a.~A::A<
^
~
clang-3.6: tools/clang/lib/Sema/SemaTemplate.cpp:258: void clang::Sema::LookupTemplateName(clang::LookupResult &, clang::Scope *, clang::CXXScopeSpec &, clang::QualType, bool, bool &): Assertion `!SS.isSet() && "ObjectType and scope specifier cannot coexist"' failed.
The text was updated successfully, but these errors were encountered:
Extended Description
Fuzzing discovered that the attached test case, when given as input to
clang -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm
causes this assertion failure:
objtype-scope-coexist.cpp:1:19: error: '~' in destructor name should be after nested name specifier
struct A {} a { a.~A::A<
^
~
clang-3.6: tools/clang/lib/Sema/SemaTemplate.cpp:258: void clang::Sema::LookupTemplateName(clang::LookupResult &, clang::Scope *, clang::CXXScopeSpec &, clang::QualType, bool, bool &): Assertion `!SS.isSet() && "ObjectType and scope specifier cannot coexist"' failed.
The text was updated successfully, but these errors were encountered: