[LLVMbugs] [Bug 7239] New: Assertion "ObjectType and scope specifier cannot coexist" with qualified destructor call on template class

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 27 03:29:55 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7239

           Summary: Assertion "ObjectType and scope specifier cannot
                    coexist" with qualified destructor call on template
                    class
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
            Blocks: 5511


Testcase:
template<class E> class A { };
class B {
  void f() {
    A<int>* x;
    x->A<int>::~A<int>();
  }
};

Crashes with:
clang: SemaTemplate.cpp:207: void
clang::Sema::LookupTemplateName(clang::LookupResult&, clang::Scope*,
clang::CXXScopeSpec&, clang::QualType, bool, bool&): Assertion `!SS.isSet() &&
"ObjectType and scope specifier cannot coexist"' failed.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list