[LLVMbugs] [Bug 13776] New: crash-on-invalid (?) with template argument list naming destructor

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 5 18:51:22 PDT 2012


             Bug #: 13776
           Summary: crash-on-invalid (?) with template argument list
                    naming destructor
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

template <class T> struct A {
  template <class U> struct B {
template <class T, class U> void f() {
  typename A<T>::template B<U> b;
  b.A<T>::template B<U>::~B<U>();
int main ()
  f<int, char>();

Assertion failed: (!SS.isSet() && "ObjectType and scope specifier cannot
coexist"), function LookupTemplateName, file
/Volumes/storage/llvm/tools/clang/lib/Sema/SemaTemplate.cpp, line 256.

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