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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
            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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to